Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynamicBackColor of Each Column are different!
Message
From
20/08/1999 08:23:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
20/08/1999 08:17:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00255740
Message ID:
00255783
Views:
19
>>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.

Being honest I never faced those problems yet. I would stick to understandable RGB() till I face :) Mine always worked as long as the expressions are correct and I never counted the spaces. VFP5.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform