Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut Keys for Toolbar Buttons
Message
De
20/01/1999 13:28:32
 
 
À
20/01/1999 13:25:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00178065
Message ID:
00178153
Vues:
42
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform