Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynamicBackColor Problem
Message
 
 
To
06/12/2006 17:21:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01175427
Message ID:
01175468
Views:
9
Johann,

Is 'acctstat' the recordsource of the grid? The Dynamic* properties expression is evaluated during grid refresh so it has to be enclosed in the quotes
="iif(colorfirst, acctstat.color, 16744448)"
BTW, there's no need to compare 'colorfirst' with anything because it's logical value already.


>I run into a very strange behavior.
>I built a grid with one column to show different chosen colors for different account status. In MODIFY mode I have a color picker and I save the color in a numeric field.
>The Grid Row is set to Sparse and Bound .F.
>In the DynamicBackColor I put the following code:
>
>iif(colorfirst = .T. , acctstat.color, 16744448)
>
>This means, if colorfirst = .F. the customer did not choose a color yet and I use the default (light blue).
>
>On 3 development computers, 1 Windows 98 and 1 Windows 2003 server the grid looks great with different colors in every row, depending of the chosen color.
>
>But on some of my coworker's computers The whole GRID ROW is white. If I go into modify mode, the colors in the color picker looking good, the label, where I use the colors later on looks ok, but in the GRID the whole Row is white.
>
>I tried different settings with the grapic card, different solutions and bit rate, but NO COLOR.
>
>I would be very greatful, if somebody would have expierience this, maybe I miss a DLL on these non working computers?
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform