Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Backcolor of Gridcells ???
Message
From
03/02/2006 04:34:46
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Dynamic Backcolor of Gridcells ???
Environment versions
Visual FoxPro:
VFP 9
Database:
MySQL
Miscellaneous
Thread ID:
01093258
Message ID:
01093258
Views:
55
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 !
Next
Reply
Map
View

Click here to load this message in the networking platform