FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Adding to a Class Object.
Posts: 23
Joined: Wed Oct 26, 2005 11:26 PM
Adding to a Class Object.
Posted: Thu Sep 13, 2007 07:45 PM

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.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Adding to a Class Object.
Posted: Thu Sep 13, 2007 11:42 PM

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

Continue the discussion