>>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