Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding properties to a class
Message
From
07/05/2003 09:49:51
 
 
To
06/05/2003 19:33:26
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00785537
Message ID:
00785773
Views:
14
>Cheers Chris,
>
>So you are saying that I cannot extend the backcolor property from anywhere else (such as the label class) to use with my custom command subclass . . .that sounds extremely restrictive to me.

Correct. That's a core feature of the language, not something you can add on. As I said though, VFP 8 does have that.

>So more to the point, how would you get around the problem so that you can have a button of any colour that appears to function as a command button?

I've never had the desire/reason to do so, but I seem to recall previous mentions of this being answered with 'use an invisible command button and an image'. A search of the message base (or ask Sergey... *G*) should turn up something.

Chris.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform