Refresh a window
Posted: Mon Apr 28, 2003 8:36 pm
Hello
How Refresh a window which contains gadget?
So that the text is show.
Thanks
My code is
If OpenWindow(5,0, 204, 185, 94, #PB_Window_SystemMenu | #PB_Window_TitleBar , "1")
If CreateGadgetList(WindowID())
TextGadget(1, 10, 60, 160, 15, "My text is hiden")
EndIf
EndIf
For k=1 To 200
MoveWindow(0,k)
Delay(5)
ActivateWindow()
Next k
For k=1 To 125
MoveWindow(k,200)
Delay(5)
ActivateWindow()
Next k
Delay(2000)

How Refresh a window which contains gadget?

So that the text is show.
Thanks
My code is
If OpenWindow(5,0, 204, 185, 94, #PB_Window_SystemMenu | #PB_Window_TitleBar , "1")
If CreateGadgetList(WindowID())
TextGadget(1, 10, 60, 160, 15, "My text is hiden")
EndIf
EndIf
For k=1 To 200
MoveWindow(0,k)
Delay(5)
ActivateWindow()
Next k
For k=1 To 125
MoveWindow(k,200)
Delay(5)
ActivateWindow()
Next k
Delay(2000)