Page 1 of 1
TClipGet source
Posted: Mon Jul 20, 2009 7:07 pm
by peterk
Where can get the full source code for tClipGet ?
In my fwh folder I can only find the following
FILE c:\fwh\source\classes\tClipGet only contains the following
function GetNew( nRow, nCol, bVarBlock, cVarName, cPicture, cColor )
return TClipGet():New( nRow, nCol, bVarBlock, cVarName, cPicture, cColor )
Re: TClipGet source
Posted: Mon Jul 20, 2009 7:51 pm
by Antonio Linares
Peter,
In the same file you find:
Code: Select all
CLASS TClipGet FROM Get
METHOD Display() VIRTUAL
ENDCLASS
which does the magic
Re: TClipGet source
Posted: Tue Jul 21, 2009 5:29 am
by peterk
Antonio
I dont understand ?
Where is the NEW methos that matches this call --> TClipGet():NEW( nRow, nCol,......... )
as well as all the other method that tClipget uses
Thanks
Peter
Re: TClipGet source
Posted: Tue Jul 21, 2009 6:04 am
by anserkk
Hi Mr.Peter,
Class TClipGet is inherited from the Class GET which means all the Methods and DATA's of the CLASS Get will be available in the CLASS TClipGet and plus the methods and DATA's of the Class TClipGet
The statement
CLASS TClipGet FROM Get in the FILE c:\fwh\source\classes\tClipGet.Prg means that it is inherited from the CLASS GET
Code: Select all
CLASS TClipGet FROM Get
METHOD Display() VIRTUAL
ENDCLASS
Hope I am not wrong.
Regards
Anser
Re: TClipGet source
Posted: Tue Jul 21, 2009 7:02 am
by peterk
OK
The GET class the tClipGet inherits from is then presumably the XHB GET class, which is not a FWH class, and this is why I cant find the expected source code for the class - is this correct ?
Thanks
Peter
Re: TClipGet source
Posted: Tue Jul 21, 2009 9:16 am
by Antonio Linares
Pete,
yes, right