Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best way to do this?
Message
 
 
To
14/12/2000 21:35:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00453170
Message ID:
00453746
Views:
25
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
Previous
Reply
Map
View

Click here to load this message in the networking platform