Adding to a Class Object.

Post Reply
J-Bohanan
Posts: 23
Joined: Wed Oct 26, 2005 11:26 pm
Location: Knoxville, TN (USA)

Adding to a Class Object.

Post by J-Bohanan »

What I am trying to do is add Data/Var Statement to a Class Object that
has already been Defined. I wish to be able to do this from a data
driven Method from within the Class. My data will come from a control
file that is Loaded into a Array that is then Pass to the Class after the
Object is Created.

I am using xHarbour and Fivewin for Harbour 2.6 Feb Build 2007.

I have seen the Command in xHarbour.

EXTEND CLASS ... WITH DATA ....

EXTEND CLASS ... WITH METHOD ......

And I see how to use this Statement from within Hard Coded
Source Code. But What I What to do is to have this statements
to Be Data Driven. And Create from Control/Setup Files Loaded
into Data Arrays.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Jim,

Just check how these commands are preprocessed and you will have the way to use them data driven. Please review hbclass.ch
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply