Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Background color on ONE cell.
Message
 
To
12/02/2002 13:23:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00618941
Message ID:
00618987
Views:
14
>>Wouldnt selectedbackcolor imply that the cursor need to be on that cell for the color to be seen? If so thats not my intention, the cursor will never be on the field I need to change the background color on. The field/cell is disabled, I even tried disabledbackcolor with no luck.
>
>Won't .DynamicBackColor do the trick, then?

Not for the active cell, because for the active cell column.DynamicBackColor setting is overriden by textbox's ...Color properties. You need some code to make sure that the appearance of the active cell is what you want it to be. Usually this code goes into grid.AfterRowColChange() event.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform