Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut Keys for Toolbar Buttons
Message
From
20/01/1999 13:28:32
 
 
To
20/01/1999 13:25:03
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00178065
Message ID:
00178153
Views:
41
Yes it could but you have more flexibility using the Got/LostFocus as you can test the state of the toolbar or menu selectively according to which form has focus.

>Actually, all this code can be put into FormClass.Activate event, i.e. each Form object knows what to do with toolbar, menu and all mediator object properties.
>
>>Hi Vinod ---
>>
>>The way I have done this in the past is to put code enabling/disabling toolbars and menu items in the GotFocus and LostFocus of my form classes....this works well because as you move from form to form the menu and/or toolbar may blink but they stay enabled. If you close the last form then they get disabled as there is no GotFocus enabling them again.
>>
>>
>>>
>>>The only thing is that menu should only become active when that toolbar is visible & that toolbar is visible only when user chooses any form(s) for data entry...
>>>
>>>Can u pls advs.. How I can do this ??
>>>
>>>TIA
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform