NOMAINWIN GRAPHICBOX #Side.GBx1,0,0,DisplayWidth,DisplayHeight STYLEBITS #Side.GBx1,0,_WS_BORDER,0,0 STATICTEXT #Side.STx1," AAAAAAA",10,20,200,20 STATICTEXT #Side.STx2," BBBBBBB",10,60,200,20 [SIDE] UpperLeftX = 0 UpperLeftY = 0 WindowWidth = DisplayWidth WindowHeight = DisplayHeight ForegroundColor$ = "red" BackgroundColor$ = "blue" OPEN "SIDE" FOR window_popup AS #Side #Side "TRAPCLOSE [QuitSide]" #Side "font tahoma 12 bold" #Side.GBx1 "down; fill darkgreen" #Side.GBx1 "when leftButtonDown [MouseLeftButton]" WAIT [QuitSide] CLOSE #Side END [MouseLeftButton] IF (MouseX < 10 AND MouseY < 10) THEN [QuitSide] 'clic on top left = QUIT WAIT
|
NOMAINWIN GRAPHICBOX #Side.GBx1,0,0,DisplayWidth,DisplayHeight STYLEBITS #Side.GBx1,0,_WS_BORDER,0,0 BackgroundColor$ = "blue" STATICTEXT #Side.STx1," AAAAAAA",10,20,200,20 STATICTEXT #Side.STx2," BBBBBBB",10,60,200,20 [SIDE] UpperLeftX = 0 UpperLeftY = 0 WindowWidth = DisplayWidth WindowHeight = DisplayHeight BackgroundColor$ = "blue" ForegroundColor$ = "red" OPEN "SIDE" FOR window_popup AS #Side #Side "TRAPCLOSE [QuitSide]" #Side "font tahoma 12 bold" #Side.GBx1 "down; fill darkgreen" #Side.GBx1 "when leftButtonDown [MouseLeftButton]" WAIT [QuitSide] CLOSE #Side END [MouseLeftButton] IF (MouseX < 10 AND MouseY < 10) THEN [QuitSide] 'clic on top left = QUIT WAIT