Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing the internals of a base class

Status
Not open for further replies.

jozerc

Programmer
Oct 10, 2004
6
CA
Hi,

In order to gain more functionnality.

Is there a way to expose or access the internals of a base class in VFP7 or higher.

For example I would like to use different colors for every odd and even for every rows.

Or being able to catch a row resize esealy.
 
Changing the base classes is a BIG no-no.

You should subclass all of the base classes and make any changes in the subclasses such as adding code to the grid.DynamicForeColor or BackColor.

Regards,

Mike
 
Unless you violate you license agreement and decompile the VFP source code, make those changes in C/C++ and then recompile it, you have to live with VFP's base classes. As Mike suggests, why not just subclass them and do what ever you want and can do within the confines of the VFP design?

There are a number of third-party Grid classes that may be able to provide what you need already - just do some googling.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top