Search found 147 matches: endclass

Return to advanced search

Re: New txbrowse

... DATA aDefaultCols INIT ARRAY( 0 ) DATA aPreviousCols INIT ARRAY( 0 ) METHOD New (nRow, nCol, nWidth, nHeight, oWnd) METHOD SetUserCols(lDefCols) ENDCLASS this is useful because there can be many columns to display, the end user can display the ones he wants, the programmer recommends the basic ...
by Silvio.Falconi
Mon Apr 22, 2024 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New txbrowse
Replies: 6
Views: 389

Valores desde una dbf a DATA de un objeto

... pasarlo a este OBJETO como si fuera una DATA con su respectivo valor CLASS valores DATA cAmbiente AS CHARACTER ... ... METHOD NEW() CONSTRUCTOR ENDCLASS De tal forma que pueda usarlo asi For x= 1 to valores:largo .... Next Por el momento no tengo control con el nombre de variables o valores ...
by Adolfo
Thu Apr 27, 2023 3:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Valores desde una dbf a DATA de un objeto
Replies: 2
Views: 276

Re: Focus error on this new project

... CLASS TSeek STATIC // From Xbrowse seek function ? DATA oBrw METHOD New( oBrw ) CONSTRUCTOR METHOD SetText( c ) INLINE ::oBrw:RefreshFooters() ENDCLASS METHOD New( oBrw ) CLASS TSeek // From Xbrowse seek function ? ::oBrw := oBrw RETURN Self
by Marc Venken
Tue Jan 11, 2022 10:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Focus error on this new project
Replies: 16
Views: 1166

to simplify the Tdatabase call

I wanted to know if in Tdatabase I can do this sample CLASS TUtenti from TDataBase METHOD New() METHOD ToArray() ENDCLASS METHOD New( lShared ) CLASS TUtenti Default lShared := .t. ::super:New(,oApp():cExePath + "Utenti" ,, lShared) if ::use() ::setOrder(1) ::gotop() ...
by Silvio.Falconi
Mon May 17, 2021 8:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: to simplify the Tdatabase call
Replies: 3
Views: 548

Re: To Nages Problem with Tdatabase and new DAtepick

... oReservation := Tdatabase():New(.....) oPrenotazione:= oReservations:Record(.t.) /record() With tdata CLASS TReservatios from Tdata METHOD New() ENDCLASS CLASS TReserva from Trecord METHOD New() ENDCLASS oReservas := TReservations():New(.....) oOne_Reserva:=TReserva():New(...) and Mr James sad ...
by Silvio.Falconi
Thu May 06, 2021 7:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages Problem with Tdatabase and new DAtepick
Replies: 13
Views: 1761

Re: problema con DrawBitmap() usando tCodeBars

... ) METHOD SetFlags( nFlags ) METHOD SetType( cnType ) METHOD Reset() INLINE ::End() METHOD Build() METHOD Rebuild() INLINE ::Reset(), ::Build() ENDCLASS //--------------------------------------------------------------------------------------------// METHOD New( nWidth, nHeight, nWidthCode, nHeightCode, ...
by rterraz
Mon Mar 15, 2021 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1034

Re: Marc : Conversion process and questions about it

Think about the app as an entire object. The app has its own datas and methods (behaviors) of its class.

CLASS TApp

DATA aPublics INIT {}

METHOD New( ... )
....

ENDCLASS

The entire app is just an object
by Antonio Linares
Wed Jan 06, 2021 1:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Marc : Conversion process and questions about it
Replies: 30
Views: 3501

Re: Marc : Conversion process and questions about it

... oSystem:Date and oSystem:Path, you need to use an object of a class like this: #include "hbclass.ch" CLASS System DATA date DATA path ENDCLASS oSystem = System() oSystem:date = Date() oSystem:path = hb_CurDrive() + ":\" + CurDir() another alternative is to use a "hash" ...
by Antonio Linares
Tue Jan 05, 2021 10:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Marc : Conversion process and questions about it
Replies: 30
Views: 3501

How to use OPRN and error pdf2.prg sample

... Error: Can't open #include file 'hbclass.ch' called from: __PP_PROCESS, line: 0 called from: ../apache.prg, EXECUTE, line: 130 Source: 0128: ENDCLASS 0129: 0130 =>//------------------------------------------------------------------------------ 0131: 0132: METHOD New( cFileName, cPassword, ...
by tiagojbi
Thu Jun 25, 2020 5:53 pm
 
Forum: mod_harbour
Topic: How to use OPRN and error pdf2.prg sample
Replies: 20
Views: 2744

Ayuda con una classe

... al Forum Segun este Ejemplo de dicho codigo s_oClass:AddMethod( "New", @New() ) como lo defino CLASS TApp01 METHOD EntraDat @EntraDat() ENDCLASS PROCEDURE Main()   LOCAL oForm := TForm():New()   ? oForm:ClassName()   oForm:Show()  ...
by ruben Dario
Mon Mar 09, 2020 3:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con una classe
Replies: 0
Views: 411

Re: Paste values into Password Protected Get Objects

... IS SHOWN IF PASTED CLASS TPGet FROM TGET DATA CTRL_V AS CHARACTER METHOD KeyChar( nKey, nFlags ) METHOD HandleEvent( nMsg, nWParam, nLParam ) ENDCLASS ********************* METHOD KeyChar( nKey, nFlags ) CLASS TPGet SELF:CTRL_V := 'N' IF NKEY = K_CTRL_V //** NKEY=22 Ctrl-V PASTE SELF:CTRL_V ...
by don lowenstein
Tue Oct 15, 2019 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Paste values into Password Protected Get Objects
Replies: 6
Views: 1164

New Class TXMLtoHash

... ) METHOD NodeToHash( oNode, hHash ) METHOD XmlToHash( pRoot, cElement ) METHOD XmlToJson( cFileJson, lWrite ) METHOD GetAllAttributes( hElem ) ENDCLASS //----------------------------------------------------------------------------// https://bitbucket.org/fivetech/fivewin-contributions/downloads/xmltohash.zip
by cnavarro
Wed Aug 07, 2019 2:23 am
 
Forum: Utilities / Utilidades
Topic: New Class TXMLtoHash
Replies: 5
Views: 1939

Re: Definir parametros en funciones de clases

José, > ¿Cuando se tienen que declarar los parametros y cuando no? En la cabecera de la Clase (entre CLASS y ENDCLASS), el indicar los parámetros es opcional, pero muy recomendable el especificarlos para entender cada método los parámetros que precisa. > Tambien observo que ...
by Antonio Linares
Thu Apr 18, 2019 5:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Definir parametros en funciones de clases
Replies: 1
Views: 450

Re: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE

... METHOD InsertInto() METHOD HandleEvent(nMsg, nWParam, nLParam ) EXTERN ; WndHandleEvent( Self, nMsg, nWParam, nLParam ) METHOD End() ENDCLASS METHOD New( cSql,lLoad, oDataBase) CLASS Ttable DEFAULT lLoad:=.T. ::oDatabase:=oDataBase ::cTable :=SQLTABLENAME(cSql) ? cSql,::cTable RETURN ...
by Compuin
Mon Nov 12, 2018 8:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE
Replies: 15
Views: 3669

Re: Fastreport help

... CLASS XVRD FROM VRD CLASSDATA lRegistered AS LOGICAL DATA cMenuData, oDlgRG, oWndRgX, lPrnRGX, oRechnung METHOD SetupMenu() METHOD End( ) ENDCLASS //----------------------------------------------------------------------------// And in method: METHOD End( lPrintArea ) CLASS XVRD I call ...
by Wanderson
Thu Nov 02, 2017 3:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fastreport help
Replies: 9
Views: 2030
Next

Return to advanced search