General information
Category:
Forms & Form designer
Title:
Using Multiple Forms in a Form Set
I am trying to use a form set for a main form plus a small form that is supposed to come to the top when required. The main form is set as a Top Level Form and the small form as "In Top Level Form". In the compiled version, the screen is off and only the Top Level Form shows on startup.
The small form is not visible, and the main form is AlwaysOnTop.
When I call the small form, I set
thisset.mainform.enabled=.f.
* which stops the user accessing other controls
thisset.mainform.alwaysontop=.f.
thisset.smallform.alwaysontop=.t.
thisset.smallform.visible=.t.
While debugging the program in the interpreter, the small form just will not appear in the top level form, but only in the main VFP window. It might work in the compiled version (I don't know because ever since I used SP3, my system has been producing corrupt installation sets). I know I can set up multiple form sets (each one with only a single form, but that seems a bit stupid as this sort of thing ought to be a breeze in a program like VFP), can anyone tell me how to have the form "come to the front" in the interpreter?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only