Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gridhighlighter Colors
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01047761
Message ID:
01047859
Views:
13
Colin,

>Excuse my ignorance but how do I add a method to a grid?

To add the method to the grid requires you to use a subclass, you could provide an abstract method like MyRowColoring() and then at the instance level of the grid on the form put code in the method and reference it in the DynamicBackColor properties.

If you don't need to use this sort of feature a lot, you could add the method to the form and reference that via thisform. in the DynamicBackColor property.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform