CurrentTopic = btn1.Text
        CurrentButton = 1
        Panel1.Visible = True
        Panel1.BringToFront
        Panel2.Visible = False
        Panel3.Visible = False
        Panel4.Visible = False
        Panel5.Visible = False
        pg.Title = CurrentTopic
        Sleep(100)
        Dim My_bmp As Bitmap = no.RunMethod("TakeScreenshot", Null)
        logfile("Screenshot")
        ScreenShotFile =  "Topic1_" & half_full & ".png"
        out = File.OpenOutput(File.DirDocuments & AppName,ScreenShotFile, False)
        My_bmp.WriteToStream(out, 100, "png")
        
        CurrentTopic = btn2.Text
        CurrentButton = 2
        Panel2.Visible = True
        Panel2.BringToFront
        Panel1.Visible = False
        Panel3.Visible = False
        Panel4.Visible = False
        Panel5.Visible = False
        pg.Title = CurrentTopic
        Sleep(100)
        Dim My_bmp2 As Bitmap = no.RunMethod("TakeScreenshot", Null)
        logfile("Screenshot")
        ScreenShotFile =  "Topic2_" & half_full & ".png"
        out = File.OpenOutput(File.DirDocuments & AppName,ScreenShotFile, False)
        My_bmp2.WriteToStream(out, 100, "png")
        
        CurrentTopic = btn3.Text
        CurrentButton = 3
        Panel3.Visible = True
        Panel3.BringToFront
        Panel1.Visible = False
        Panel2.Visible = False
        Panel4.Visible = False
        Panel5.Visible = False
        pg.Title = CurrentTopic
        Sleep(100)
        Dim My_bmp3 As Bitmap = no.RunMethod("TakeScreenshot", Null)
        logfile("Screenshot")
        ScreenShotFile =  "Topic3_" & half_full & ".png"
        out = File.OpenOutput(File.DirDocuments & AppName,ScreenShotFile, False)
        My_bmp3.WriteToStream(out, 100, "png")