Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid textbox color in red if !empty(memo)
Message
From
29/09/2000 13:54:13
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00422619
Message ID:
00422741
Views:
9
Fred,
I don't believe that approach will work because she wants to set the row color based on a certain condition in the cursor that is the recordSource for her grid. In cases like these, I believe you need to use the dynamicbackcolor property of the grid columns to have one row red if the memo is not empty, and the one right next to it be white because the memo is empty.

>Then why not use yet a different approach:

>#DEFINE RED 255
>#DEFINE WHITE 16777215


>Control.ForeColor = RED
>Control.ForeColor = WHITE

>etc.

>This is probably the easiest to comprehend when looking at the code, too.
Paul A. Busbey
Victoria Insurance
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform