Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynamicBackColor of Each Column are different!
Message
From
20/08/1999 08:17:33
 
 
To
20/08/1999 05:46:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00255740
Message ID:
00255780
Views:
13
>First the expression is wrong. You must put the whole expression as a char string :
.DynamicBackColor = "IIF(Empty(myTable.Field1), rgb(0,0,0), rgb(192,192,255))"
An additional note- the Dynamic properties often don't take kindly to the RGB function in the expression, and it is often more dependable to just put the color constant as returned by RGB, rather than the RGB function. Also- try to keep all spaces out of the poperty. There is a bug in the Dynamic properties that often causes the properties to be ignored if spaces are embedded in the expression.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform