Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pros and Cons of MDI vs SDI setups.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00049983
Message ID:
00051182
Views:
38
>Hi Steve!
>
>Can I ask you about an example of your menu? Mine not work properly when I
>try disable/enable menu item with evaluating a global variable.
>
>
>Will Write Login Scripts For Food
>
>>Thanks for your reply. I haven't had much problems with menus in my
>>top-level form though. I even check for a maximized form and then run
>your
>>resize class if necessary.

Vladimir,

It's a standard menu created through the designer. The top-level form has a textbox on it to create a dummy wait state to check for the need to resize itself. The menu shows up just fine in it though. The code in the .Init event of the top-level form is;

DO MainMenu.MPR WITH THIS
THIS.txtStartTop.SetFocus()

Let me know how you are trying to evaluate this global var. Might it be better to make it a property of the top-level form?

Steve
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform