Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to do this?
Message
 
 
À
14/12/2000 21:35:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00453170
Message ID:
00453746
Vues:
26
Alex,

>Wonderful, marvelous! The everlasting class!! Definitely, VFP is magical and you did a very good job.

Thanks, it really is pretty easy to get VFP to do darn near anything you want it to with a little creative thinking.

>The only change I had to make was to set AutoSize = .T., which my base class does not have, as I use Visual MaxFrame.

Yes, my lowest level cLabel class sets AutoSize=.t. and BackStyle=Transparent. Every label I use is derived from this class.

>Also, I haven't figured out yet how to have the hot key letter be the value stored in the table intead of the first letter of the option.

.mcSetValue = left( oButton.Caption, 1 )

Change this line to find the character after the \< inside the caption. But this requires that the hotkey makes logical sense with the value stored, this might not always be the case. For the couple of classes I've used the first character of the caption was what I wanted to store.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform