Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invisible buttons hot key
Message
De
23/10/2008 02:43:49
 
 
À
21/10/2008 10:17:44
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:
01356482
Vues:
37
Hi Craig,
Thats trick.. I made Office2007 buttons style (using container and styled pictures for background). The button looks 100% same as Office product has, but the problem - I need to use navigation keys to set focus on the button or Hot keys.
So, for this reason, I put into container button with Button.Style=1 - now navigation with arrow or Tab works perfect.. and also, I have selection rectangle.. so.. all features there!
User can see a Label caption what I put into container before - and invisible button works as background object for selection.

Now problem only in Hot Keys

>If the button is invisible, how is the user going to know they can press Alt+S?
>
>>Hi,
>>Is there a way to make invisible buttons behaviour like standard buttons for hot keys?
>>For example, when I have a
button.caption = "\<Search"
- then Hot key is ALT+S.
>>In case with vfp standard button - when I press ALT+S - its automatically starts CLCK() event.
>>In case with invisible button - its just set focus to the button and raise no click event.
>>
>>Any ideas,
>>Thanks
>>Denis
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform