Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invisible buttons hot key
Message
From
23/10/2008 02:52:23
 
 
To
23/10/2008 02:43:49
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356027
Message ID:
01356483
Views:
36
Did you try my trick?

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform