Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding properties to a class
Message
De
07/05/2003 09:49:51
 
 
À
06/05/2003 19:33:26
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00785537
Message ID:
00785773
Vues:
15
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform