Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDI / MDI and refering to its main window
Message
 
To
16/10/1998 09:54:50
Marco Beuk
Innovero Software Solutions
The Hague, Netherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00147457
Message ID:
00147463
Views:
23
>I want to enable SDI in my application (could be a nice way to enable multi-session support).
>The ShowWindow property of my main form therefor is 2 - As top level form. The ShowWindow property of my other forms are set to 1 - In top level form.
>So far so good.
>I used to let users know where they are (navigation indicator) by displaying certain info in the header of the main form.
>To do so i used _screen.caption.
>My question is:
>HOW CAN IK REFER TO MY MAIN FORM (_vfp/_screen/application all point to the main visual foxpro window which is hidden in my case).

As long as child forms know about parent, just refer to the top-level:

topform.caption = "I'm in child form X"
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform