Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Top Level Form
Message
 
 
To
30/12/2000 10:51:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00457084
Message ID:
00458099
Views:
22
>Thank You John!!!
>
>Resolved the problem. I moved the code to create the menu to the activate method of the top form. No more errors messages and the menu disables with _screen.activeform.windowstate = 1 in the skip for of the menu option for modal forms. I'll know next time not to believe everything I read in the manuals and books. I guess that is what they call experience.
>

Gaylen,
The menu creation will be done each time the form is Activated. This takes place whenever you launch a new form and then release it to come back to the main form. If the other form is modal, you can't do this but if you launch a non-modal form and go back to the main form ...

>
>I tried 'oMainform = this' in the init of the top level form but it didn't create a form object. I can reference the oMainform object if I create the form with 'do xxxx name oMainform'.
>
>Thanks a lot - Hope to see you Wednesday.
>
>Gaylen
>
>
*snip*
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform