Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make the whole row of the grid to use the same forecolor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00525731
Message ID:
00525737
Vues:
31
>>Hi everybody,
>>
>>I have a grid, in which I set dynamicforecolor for all columns depending on status field value, e.g.
>>
>>.setall('DynamicForeColor', "thisform.myforecolor(BldMstr."+thisform.AddrField+")", 'Column')
>>
>>It sets correctly the dynamic forecolor except for the active column. In other words, if I set dynamic forecolor to blue, all columns show blue forecolor, but the active one shows black. Is it possible to make it blue too?
>>
>>Thanks in advance.
>
>Yes, but for the active column you need to manpulate its CurrentControl ForeColor i.e. set textbox.ForeColor to blue.

Hi Nick,

I tried to set textbox forecolor to blue in textbox.GotFocus, but it doesn't seem to be any effect. Do you know, what exactly I have to do? That's not a big problem, but I like to have the whole row in one forecolor... BTW, I use your gridhighlighter, if it makes any difference.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform