Page 1 of 1

Purevision Question.

Posted: Wed Nov 16, 2005 2:48 pm
by MPrimal
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

Posted: Wed Nov 16, 2005 5:27 pm
by Beach
You can simply call the next form and hide or close the first form.

Code: Select all

Case #Gadget_Form1_Button
  If Window_Form2()
    HideWindow(#Window_Form1,#True)
  EndIf
Don't forget to look for your new windows in your "#PB_Event_CloseWindow" event.

Re: Purevision Question.

Posted: Wed Nov 16, 2005 8:19 pm
by PB
> I cannot see the answer in the help file

viewtopic.php?t=17787

Posted: Wed Nov 16, 2005 10:50 pm
by Beach
Its not really a PureVision question - that's why I responded. The title should be "Window/form question".