Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pros and Cons of MDI vs SDI setups.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00049983
Message ID:
00051182
Vues:
43
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform