Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hot keys for graphical buttons
Message
 
To
06/02/2001 23:26:37
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00473002
Message ID:
00473495
Views:
22
>>You can have a caption with a hot key AND a picture, and set the command button's ForeColor to 192,192,192.
>
>No good - it'd stand out as a bullseye on any machine where I work. That's called user's preferences, and I hate grey. All my machines had a slightly modified lilac theme - sometimes more to the purple, sometimes to the blue side.

True, it's a compromise that requires some user cooperation. But, tell me, if Imy user preference for the color of the window item is, let's say black, do you design all your forms to adapt to that?

>
>The good thing would be to have a nearly invisible object with backcolor=this.parent.backcolor, forecolor=backcolor, caption with a hotkey... hmmm, would a label be a candidate? The code would have to be in .gotfocus then. I still think the hidden buttons way is easier.

There are many ways around. The really good thig would be to have a hotKey property for command buttons.
Doru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform