Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut for Button but using Graphic Image
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01473346
Message ID:
01473441
Vues:
92
This message has been marked as the solution to the initial question of the thread.
Hi Cecil,

>How does one have a shortcut key for a button if you are using a Graphic Image (Picture property)? Usually, you'd use the word, such as Cancel and make the first letter, let's say, into a shortcut key with the ALT key, as in backslash and the less than sign preceding the word "Cancel". But, you have to clear the word Cancel out of the Caption property if you want to use an image there. Is there another property to put in a shortcut key?

simply set image.PicturePosition = 14

This will display the picture only and hide any given text in the caption, however will react to hotkey definitions within the caption.
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform