Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Color in Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00244921
Message ID:
00245307
Vues:
25
>>>>this.backcolor = this.parent.parent.nbackcolor
>>>>this.forecolor = this.parent.parent.nforecolor
>>But can't you add the code to your (or create a new) textbox class with the code? Also, that's why I thought of the runtime ADDPROPERTY, it might give more flexibilty for a situation like this...
>
>In the init of the grid class a replace the textbox for each column. If any code was added at design time to the textbox it gets replaced doesn't it?

What I mean is to add the Gotfocus code to your textbox class, not the grid class. The grid class would only get the "master" color properties like the nbackcolor above...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform