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:
00181827
Vues:
10
Hi Marc. Nice try but both of the editboxes have their BackStyle (if that's what you're referring to) set to the default of Opaque. Very puzzling.

>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?
It's "my" world. You're just living in it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform