Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement