Adding to a Class Object.

Adding to a Class Object.

Postby J-Bohanan » Thu Sep 13, 2007 7: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.
J-Bohanan
 
Posts: 23
Joined: Wed Oct 26, 2005 11:26 pm
Location: Knoxville, TN (USA)

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42103
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 43 guests