Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement