Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prob w Highlightforecolor for selected items
Message
 
 
À
26/01/2010 17:35:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01446041
Message ID:
01446076
Vues:
65
If I recall correctly, I set backcolor and forecolor on the LostFocus/GotFocus of the textbox, but I forgot all the details. I probably posted this info (should be somewhere around 2000, I think).

I may search tonight for this message.

>Naomi --
>
>Controlled by what properties?
>
>I have tried setting SelectedBackColor and SelectedForecolor for my textbox, but they have no effect that I can see.
>
>It seems that HighlightBackColor works, BTW, but not HighlightForeColor
>
>
>>>I'm trying to set the highlight for the selected row in a grid to have white characters on a blue background. I have set this as follows
>>>
.HighlightStyle = 2
>>>.HighlightBackColor = RGB(0,0,255)
>>>.HighlightForeColor = RGB(255,255,255)
>>>This works fine, except when the the user has selected a cell ... in which case, I get the correct back color (blue), but the forecolor, for the selected cell only, turns to black (making it essentially unreadable).
>>>
>>>It appears that SelectedItemBackColor and SelectedItemForecolor are not relevant here.
>>>
>>>What am I missing?
>>>
>>>Thanks in advance
>>
>>Right. They are controlled on the cell's level.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform