Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem Changing DynamicBackColor programmatically
Message
From
03/04/1998 08:59:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem Changing DynamicBackColor programmatically
Miscellaneous
Thread ID:
00089220
Message ID:
00089220
Views:
76
I have a simple form with a grid and a combo box for changing the data source of the grid. I can change the data source with no problem and keep all my special formatting of the grid with no problems, but then I attempt to change the DynamicBackColor property of the grid with the following statement:
ThisForm.grdFiles.SetAll("DynamicBackColor",; "IIF(files.status=1,RGB(192,192,192),RGB(255,255,255))","column")

This change never happens and I don't know why ! It seems to execute properly, but in the debugger you can still see that the property is set to the statement that I initialized it to in the INIT method of the grid which are different colors.

Does anyone have any insight into this ? I thought maybe I needed to reset the DynamicBackColor property to its default ( nothing ? ), and then execute the statement changing it, but every time I set DyanmicBackColor='' an error is generated.

Any Help will be appreciated.
Robert Horkay
Next
Reply
Map
View

Click here to load this message in the networking platform