Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd behavior of grid in SetAll
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00181604
Message ID:
00181711
Vues:
10
Hi John,

Could it be that the transparancy/opacity settings are different for your textboxes when compared to editboxes?

Just a thought.

Marc


>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?

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform