Navigation:  Reference > Detailed Function Description > Helper Functions >

SUB DPlot_setscreen

 

Previous pageReturn to chapter overviewNext page

 

SUB Dplot_setscreen(Mode,Bitmask)

!

! Removes / restores toolbars, title windows etc.

!

!  INPUT:  Mode    = 0:restore screen elements, 1:remove screen elements

!          Bitmask = Specifies what screen elements should be removed/restored

!                      Bit 0  (=1)   : Main menu

!                      Bit 1  (=2)   : Application window title bar

!                      Bit 2  (=4)   : Border on main window

!                      Bit 3  (=8)   : Child window title bar

!                      Bit 4  (=16)  : Control toolbar

!                      Bit 5  (=32)  : Bookmark toolbar

!                      Bit 6  (=64)  : Debug toolbar

!                      Bit 7  (=128) : Status bar

!                      Bit 8  (=256) : Maximize/Restore application window

!                      Bit 9  (=512) : RUNLIGHT

!                      Bit 10 (=1024): KEY LABELS

 

Dplot_setscreen can be used remove unwanted screen elements from the HTBasic window like toolbars, status bar and others during the program run and to restore them after the program has finished.
Please note that HTBasic automatically clears the screen if you call this function.

 

Info3

Important note:
Due to technical reasons this function should only be used when you work with full screen diagrams. Although it is possible to let SUB DPlot_show paint diagrams which only uses part of your HTBasic screen this option should not be used together with DPlot_setscreen.