Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function keys and the command buttons
Message
De
27/07/1998 18:28:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00121660
Message ID:
00121791
Vues:
18
>>
>>Another quick-and-dirty method would be using ON KEY LABEL F3 KEYBOARD "ALT+A" PLAIN, which would work if a button has ALT+A assigned as a shortcut.
>>
>>PS. I´m not sure about the PLAIN; please check it, OK?
>
>I believe the plain is correct. I have been using On Key Labels (OKLs). The problem is when calling other forms from the main form. The OKLs begin to get mixed up. I tried putting push key clear in the init method of the called form but I am getting strange results sometimes. I believe pushing and poping OKLs will probibly not work when running a number of forms at once. It looks like the init of a called form runs before the lost focus of the main form and other stuff like that.
>
> I am toying with the idea of using the menu bar and adding and removing hot key menu selections as I load and unload different forms and menus. It would be a lot of work to get started though. Any ideas out there???


Menus is the way I suggested...but it really isn't that difficult.

In the form Activate:
PUSH MENU _MSYSMENU
DO MyMenu.Mpr

Then in the Deactivate:
POP MENU _MSYSMENU
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform