Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child In Top Level Form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00255716
Message ID:
00255774
Views:
21
>Hi,
> I have a form set as child (showwindows - InTopLevel) in a Top Level Form. How could I get the name of the child form from my Main form?
>The debugger show me that my Main form is not the parent of my child
>form, and the my main form'd activeform property doesn't show my child form. Why? How to solve it?

Use the NAME clause for the child form. Here's a way to do this to have good control:

Create a property (can be array, if needed) in the TL, say Child1. Launch child from somewhere in the TL with:

DO FORM Childformname NAME Thisform.Child1
or possibly
Thisform.Child1 = CREATEOBJECT('Childformclass')

Now they will be aware of each other, Child1 will be an object of the TL.
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