Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Backcolor of Gridcells ???
Message
De
03/02/2006 04:34:46
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Dynamic Backcolor of Gridcells ???
Versions des environnements
Visual FoxPro:
VFP 9
Database:
MySQL
Divers
Thread ID:
01093258
Message ID:
01093258
Vues:
57
Hello Everybody !
(VFP 9.0)
I have a cursor xyz as a result from an sql-select
text1,text2,colorno,text3
a aa 128 qw
b bb 65535 er
c cc 65280 rr

I have a grid with 4 columns

thisform.grid1.recordsource = xyz

Now i want that the backcolor of the textboxes in column3 are set to the value of the textbox
(textbox1 in column3 of row1 red, textbox1 in column3 of row2 yellow ....)

I don't know, how and where to code this ??

grid1.column3.sparse = .F. ?????
grid1.column3.text1.backcolor = grid1.column3.text1.value ?????

Any help welcomed !
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform