Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Dynamic Backcolor of Gridcells ???
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement