Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd behavior of grid in SetAll
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Odd behavior of grid in SetAll
Divers
Thread ID:
00181604
Message ID:
00181604
Vues:
32
I have 2 forms, both with a grid on it with the following command in the grid's Init() event:

*--Alternate white and green records
THIS.SetAll("DynamicBackColor", "IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255) ;
, RGB(0,255,0))", "Column")

It does just what it's instructed, except when a grid column uses an editbox instead of the usual textbox as the CurrentControl. On one form, it displays the appropriate green color but doesn't change the background color when selected, like other textboxes. The grid column on the other form doesn't chang the color to green at all. I have double checked my code to make sure I'm not changing the color again somewhere. Any clue why the different behavior?
It's "my" world. You're just living in it.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform