Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Changing DynamicBackColor programmatically
Message
De
03/04/1998 08:59:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem Changing DynamicBackColor programmatically
Divers
Thread ID:
00089220
Message ID:
00089220
Vues:
75
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
Fil
Voir

Click here to load this message in the networking platform