Here is some code, but I'm using DBPro. Basically, when you change
modes, you must reload graphics. Notice the changes to your code. -JerBil
Set Display Mode 640,480,32
Sync On : Sync Rate 20
Set Window On
Set Window Title "blah blah..."
Set Window Position Screen Width()/4,Screen Height()/4
Window_Mode=0
Set Text Font "Copperplate Gothic Bold"
Set Text Size 30
Set Text To BoldItalic
Gosub Graphics
Do
Set Cursor 0,0
Print Scancode()
Paste Image 1,0,0
rem Window Toggle
If KeyState(62)=1
Gosub Graphics
EndIf
Sync
Loop
Graphics:
Window_Mode=1-Window_Mode
if Window_Mode
Set Window On
else
Set Window Off
endif
Load Image "Example.bmp",1
return