Search found 51 matches: oobject

Return to advanced search

Re: OVERRIDE

FUNCTION __objAddData( oObject, cSymbol ) it is inside: https://github.com/harbour/core/blob/master/src/rtl/objfunc.prg I tried with #xcommand EXTEND DATA <!Message!> [IN] CLASS <!Class!> __objAddData( <Class>():classH, ...
by Silvio.Falconi
Mon Nov 13, 2023 12:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OVERRIDE
Replies: 8
Views: 616

Re: OVERRIDE

FUNCTION __objAddData( oObject, cSymbol )

it is inside:
https://github.com/harbour/core/blob/master/src/rtl/objfunc.prg
by Antonio Linares
Mon Nov 13, 2023 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OVERRIDE
Replies: 8
Views: 616

Re: SUB-CLASS TFolderEx()

hi Antonio, "where" can i get more Information about __objAddData( oObject, cSymbol ) and __objAddMethod( oObject, cSymbol, nFuncPtr ), __objModMethod( oObject, cSymbol, nFuncPtr ) have not found a Sample --- have found in OOHG /* * The following parts ...
by Jimmy
Sun Feb 05, 2023 5:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SUB-CLASS TFolderEx()
Replies: 20
Views: 1157

Re: SUB-CLASS TFolderEx()

... TFolderEx, you could dynamically modify Class TFolderEx to add the extra DATAs and/or Methods that you may need using the functions __objAddData( oObject, cSymbol ) and __objAddMethod( oObject, cSymbol, nFuncPtr ), __objModMethod( oObject, cSymbol, nFuncPtr ) WOW i did not know that Technique ...
by Jimmy
Sat Feb 04, 2023 9:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SUB-CLASS TFolderEx()
Replies: 20
Views: 1157

Re: SUB-CLASS TFolderEx()

... TFolderEx, you could dynamically modify Class TFolderEx to add the extra DATAs and/or Methods that you may need using the functions __objAddData( oObject, cSymbol ) and __objAddMethod( oObject, cSymbol, nFuncPtr ), __objModMethod( oObject, cSymbol, nFuncPtr ) Please review https://github.com/harbour/core/blob/master/src/rtl/objfunc.prg
by Antonio Linares
Sat Feb 04, 2023 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SUB-CLASS TFolderEx()
Replies: 20
Views: 1157

Re: "Name" of TOLE

hi, To know the name ? oObject:cClassName thx for Answer.   xFolder := aSelect[ ID_Folder ]   xName := aSelect[ ID_Name ]   xLevel := aSelect[ ID_Level ]FWLOG xFolderFWLOG oFolderItem:cClassNameFWLOG oTreeNext  ...
by Jimmy
Fri Dec 02, 2022 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "Name" of TOLE
Replies: 6
Views: 482

Re: "Name" of TOLE

To know the name
? oObject:cClassName
by nageswaragunupudi
Fri Dec 02, 2022 2:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "Name" of TOLE
Replies: 6
Views: 482

Re: EasyReport progress?

I not found

oList:oObject
by Silvio.Falconi
Mon Dec 21, 2020 10:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: EasyReport progress?
Replies: 86
Views: 8837

Re: Como saber si un Method existe en la clase.

Dario,

1. Puedes hacerlo usando un objeto:

FUNCTION __objHasMethod( oObject, cSymbol ) --> lSioNo

2. Type( "NombreFuncion()" ) != "U"
by Antonio Linares
Thu May 21, 2020 5:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como saber si un Method existe en la clase.
Replies: 1
Views: 323

Re: Question to coordinates.

... + ALLTRIM(STR(aSize[3])) + CRLF + ; "Height : " + ALLTRIM(STR(aSize[4])), "Size" ) } // ------------ STATIC FUNCTION GET_SIZE( oObject ) LOCAL aCors[4] aCors[1] := oObject:nTop aCors[2] := oObject:nLeft aCors[3] := oObject:nWidth aCors[4] := oObject:nHeight RETURN aCors regards ...
by ukoenig
Thu Mar 28, 2019 2:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question to coordinates.
Replies: 6
Views: 932

Re: Saber si existe un método en una clase.

De un objeto __objHasMethod( <oObject>, <cSymbol> ) --> lExist ? __objHasMethod( oFldr, "ShowTab" ) // --> lExist Y quizás puedas usarlo asi ? __objHasMethod( TFolderEx(), "ShowTab" ) // --> lExist ...
by cnavarro
Tue Jan 02, 2018 3:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber si existe un método en una clase.
Replies: 3
Views: 619

Re: Crear una clase y datas a petición

Mejor con la función que te ha indicado Cristobal que lo que hace es llamar finalmente a __clsAddMsg() FUNCTION __objAddData( oObject, cSymbol ) LOCAL nSeq, hClass IF ! HB_ISOBJECT( oObject ) .OR. ! HB_ISSTRING( cSymbol ) __errRT_BASE( EG_ARG, 3101, , ProcName( 0 ) ) ELSEIF ! __objHasMsg( ...
by Antonio Linares
Wed Dec 20, 2017 11:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear una clase y datas a petición
Replies: 9
Views: 1185

Re: funciones de FWH y Harbour en un archivo .txt

__clsVerify(<nClassH>)-><acBrokenMessages>|Nil __objAddData(<oObject>,<cDataName>)->oObject __objAddInline(<oObject>,<cInlineName>,<bInline>)->oObject __objAddMethod(<oObject>,<cMethodName>,<nFuncPtr>)->oObject ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5710

Re: Tdata still Up to Date ?

... the method "Print" and use the same name for other classes too. This way you can pass any object to a routine (like a menu) and just do oObject:print(). Since you might want to have a number of reports using the customer table object then it would be better to create a document class ...
by James Bott
Thu Jun 01, 2017 3:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tdata still Up to Date ?
Replies: 25
Views: 5136

Re: como se hace en Harbour?

La solución que te aporta Carlos te funcionará correctamente.

También puedes hacerlo directamente con el uso de las funciones,

__objModMethod( <oObject>, <cMethodName>, <nFuncPtr> ) //<nFunCprt> se debe pasar por referencia
__objAddData( <oObject>, <cDataName> )
by Biel EA6DD
Thu Jul 14, 2016 6:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: como se hace en Harbour?
Replies: 11
Views: 2040
Next

Return to advanced search