Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ctrl+S to save, one more plea
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Ctrl+S to save, one more plea
Divers
Thread ID:
00418265
Message ID:
00418265
Vues:
71
Hi all,

I've been messing around with this Ctrl+S thing for a couple days since my last posting (thanks to Dragan, Ko and Sergey for their earlier input) but I am still stuck in a rut and the users REALLY want these shortcuts, so I'm going to ask for help one more time.

I (now) know that I can't use many Ctrl+letter combinations since the VFP sysmenu intercepts them (and I am using the Window pad from sysmenu in the application menu) it would appear that the Ctrl+letter idea is out. I tried:
on key label ctrl+s _screen.activeform.keypress(19,2)
in the form init, and it works - but not consistently.

So question number 1 is - any other ideas on how to get the Ctrl+letter combinations back from sysmenu?

The second question is (and assuming I fail in the first one), how can I trap for Ctrl+Shift+S in the keypress? In Help, it says that the nShiftAltCtrl=3 (combining the control and shift bit values) but what value do I use as the nKeyCode for the S?

Here's hoping for a solution. Thanks in advance.
Phil Thomas
http://phillipdthomas.com

Never let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform