Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CmdButton.Picture = only an icon (no captioning)
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00206033
Message ID:
00207452
Views:
15
David,

Worked! Thanks a lot for your help.

>Chuck
>
>If you put a label with the hot key before the button in the tab order the pressing the hot key will put focus on the commandbutton. They'd still have to press space to push the button. You could put the label "under" the button so it wasn't visible, or have the label set it's ForeColor=thisform.BackColor in it's Init to render it "invisible" to the user.
>
>>On my main form for an application, I have several cmdButtons which, in turn, call other forms for going into the various modules of the application.
>>
>>Each cmdButton is a custom-made icon (using the Picture property and specifying an .ico file for the Picture).
>>
>>In the previous version of this program, the cmdButtons just had plain text Captions on them (no Picture property), and there was a default key in the text -- such as --
>>
>>
>>\<1 - Daily Production
>>\<2 - Daily Report
>>
>>
>>I have put a lbl next to each cmdButton to provide the text description.
>>
>>Now that we have these cool-looking icons for the cmdButtons (with no Caption property), is there still a way I can have the shortcut keystrokes available for the users. TIA, Chuck
Chuck Henry
Previous
Reply
Map
View

Click here to load this message in the networking platform