Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Turn off highlighting for one column in a grid?
Message
 
 
À
22/01/2008 11:07:07
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01284042
Message ID:
01284078
Vues:
17
>>>I'm using Dynamic Back and Fore colors and do not want the cells in one column highlighted as it overwrites my dynamic colors. I would like it for the other columns. I need to use the default grid, so not looking for a new grid class solution. Not yet anyway. Thanks!
>>
>>Do you mean the cell that is currently under focus? If yes, I think I used GotFocus and LostFocus events of the texbox (I use special class for textboxes in the grid) to save BackColor/ForeColor of the cell, set them to be the same as Dynamic colors and then reset back.
>
>I set the BackColor and ForeColor to the same as my Dynamic colors and it didn't make a difference. The highlighting still overrides the colors. Do you have a sample of code of what you did that worked?

I don't have VFP installed here at all, unfortunately. Since September I haven't really worked with VFP and all I was writting was entirely from my memory, sorry.
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