General information
Category:
Coding, syntax & commands
Title:
Problem Changing DynamicBackColor programmatically
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only