Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invisible buttons hot key
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01356027
Message ID:
01473364
Vues:
36
>Okay, let me get this straight. You don't set the property of the new and hidden button to .F., but perhaps hide it under some other control with a hot key set up that calls the button that has the image and that does the method's job? Sounds like a good idea.
>
>>The idea is to have the button with the Caption corresponding to the picture. Move these buttons somewhere out of the form (so they will be invisible to the user). Then pressing the hotkey will do the work (as these buttons will call button with the picture click method),
>
>>A bit convoluted way to achieve hotkey functionality.

Yes, you have a button with Hot Key (say, \ Print). You move this button somewhere to top = -1000 and same for the left in Form's init.

Then Alt+P will work.

The downside is that you have double number of buttons on the form.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform