General information
Category:
Menus & Menu designer
>>>>>I'll give a very simple example to show what I would like to do:
>>>>>Menu name: 'super1'
>>>>>Menu Pad: 'cu' ----> opens form 'dataentry'
>>>>>
>>>>>I want menu pad 'cu' to be disabled while form dataentry is being used.
>>>>>
>>>>>I assume that I have to enter some code in the "skip for" box which tests to see if form 'dataentry' is being used. Am I on the right track here? If so, how do I get the menu to determine that form 'dataentry' is indeed being used? If I'm out in right field with this, do you have any other suggestions?
>>>>>
>>>>>Any help would be appreciated.
>>>>>
>>>>>Thanks, AL
>>>>
>>>>You can put e.g. oApp.skipcupad into 'Skip' clause in Menu Designer, and toggle oApp.skipcupad=.t./.f. each time you load/unload the form.
>>>
>>>Thanks ED, I'll give this a try. This is probably a more flexible solution for a complex menu than using 'WEXIST"
>>>
>>>AL
>>
>>Excellent suggestion Ed.
>>I've used a lot of
>>DO FORM NAME x then place x in the menu and tested for its existence but have run in to some problems. Better just to set the variable within the toolbar.
>
>Actually, I have toolbar methods SetToolbarMenu,RestoreToolbarMenu when start/finish a form.
So when are you going to start giving classes, Ed. :)
Previous
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