Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Color in Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00244921
Message ID:
00245307
Views:
22
>>>>this.backcolor = this.parent.parent.nbackcolor
>>>>this.forecolor = this.parent.parent.nforecolor
>>But can't you add the code to your (or create a new) textbox class with the code? Also, that's why I thought of the runtime ADDPROPERTY, it might give more flexibilty for a situation like this...
>
>In the init of the grid class a replace the textbox for each column. If any code was added at design time to the textbox it gets replaced doesn't it?

What I mean is to add the Gotfocus code to your textbox class, not the grid class. The grid class would only get the "master" color properties like the nbackcolor above...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform