General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only