Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid column: dynamicforecolor problem
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01026334
Message ID:
01026417
Views:
15
It should work as long as the fciscomm memo field belongs to the same table as grid's record source.

>That does not work. I have a form method that does the work of setting the grid properties and its called in the form init after i populate a cursor.
>
>I also put the code in the form's ACTIVATE method along w/ a REFRESH call to the grid and the caption on all of the command buttons are black, regardless if data is there or not.
>
>am using:
>
>
>SELECT tmpfcis
>thisform.grdbase.column32.dynamicforecolor = 'IIF( EMPTY(tmpfcis.fciscomm), RGB(0,0,0), RGB(0,0,255) ) '
>thisform.grdbase.Refresh()
>
>
>
>>There should be no quotes around RGB()
>>.column32.dynamicforecolor = 'IIF( EMPTY(tmpfcis.fciscomm), RGB(0,0,0), RGB(0,0,255) ) '
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform