Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Turn off highlighting for one column in a grid?
Message
 
 
To
22/01/2008 11:07:07
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01284042
Message ID:
01284078
Views:
16
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform