I cannot for the life of me see the answer to what is probably a really silly question.
I have a window setup in Purevision with 3 windows. When I run the code it creates the first window is opened and useable.
How do I close this window and call one of the other windows into use when needed?
Sorry for such a silly question but I cannot see the answer in the help file.
Andy
Purevision Question.
Purevision Question.
Real Power Comes From Sharing It With Those Who Think They Have It All.
You can simply call the next form and hide or close the first form.
Don't forget to look for your new windows in your "#PB_Event_CloseWindow" event.
Code: Select all
Case #Gadget_Form1_Button
If Window_Form2()
HideWindow(#Window_Form1,#True)
EndIf-Beach
Re: Purevision Question.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.


