Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I create a grid header class
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00421369
Message ID:
00421407
Views:
20
>I need to create a class with specific methods in the header of a grid. I can't figure out how do this. I can subclass the grid ok but then I don't have access to the header methods. Any tips?

Hi Joe,
To do this you will need to programmatically create you header class. Then in your grid class, you will need to programmatically replace the header with your class. I do this in the Init() if a property is set. I also have an assign method on ColumnCount so that when a column is added at run-time, I can replace the header if required.
HTH,
Bill Armbrecht
VFP MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform