Search found 166 matches: inherit

Return to advanced search

Re: FWH: MySql/MariaDB: RowSet object

... for this object instead of METHOD FCount() INLINE ( ::nArea )->( FCount() ) Could this approach work? And am I correct it is not possible to inherit from Mariadb connection RowSet class? Our database classes inherit from tdatabase() and would be easy first step to replace tdatabase() functionality ...
by Taavi
Tue Oct 01, 2024 5:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 55
Views: 23661

Re: Browse of my ADO Class

... "nTop", "nLeft", "nWidth", "nHeight" }   DATA oData, aColumns, aArray AS ARRAY  Ok, once one inherit another, do not need to create oData again, but trying solve error. Why need to save oData on browse ? Because I will change later. Variables ...
by JoséQuintas
Mon Sep 30, 2024 3:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 43
Views: 2087

Re: Propuesta para que hagan un curso virtual FW

... se ha detenido." RETURN Uso de la Herencia La herencia permite que una clase herede las propiedades y métodos de otra. En Harbour, usamos INHERIT para heredar de una clase base. CLASS Vehiculo DATA marca DATA modelo METHOD moverse() ENDCLASS CLASS Coche INHERIT Vehiculo METHOD arrancar() ...
by xmanuel
Tue Sep 10, 2024 8:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Propuesta para que hagan un curso virtual FW
Replies: 302
Views: 35504

Re: Propuesta para que hagan un curso virtual FW

... de la clase. Herencia: La herencia permite que una clase reutilice el código de otra. Harbour admite la herencia a través de la palabra clave INHERIT. CLASS Vehiculo DATA marca METHOD arrancar() ENDCLASS CLASS Coche INHERIT Vehiculo DATA modelo METHOD tocarBocina() ENDCLASS METHOD arrancar() ...
by xmanuel
Tue Sep 10, 2024 8:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Propuesta para que hagan un curso virtual FW
Replies: 302
Views: 35504

Re: Window transition event

... (activating/deactivating). Combine with the LOWORD of wParam to check the activation state (e.g., WA_INACTIVE for background). You may need to inherit a Class TMyWindow from TWindow and implement support for WM_ACTIVATE There are some examples in these forums showing how to inherit and modify ...
by Antonio Linares
Fri Mar 15, 2024 3:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Window transition event
Replies: 2
Views: 797

Re: Assigning lUseHaruPdf when TPrinter is sub-classed

... message   Error description: Error BASE/1005  Message not found: FWPDF:_LUNDERLINEHEADER :lUnderlineHeader is a data in my xprinter class that inherits from tprinter. Where did I go wrong? You have used a DATA that is not in FWPDF class. If you inherit from TPrinter, you should know how to ...
by nageswaragunupudi
Mon Jul 31, 2023 7:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Assigning lUseHaruPdf when TPrinter is sub-classed
Replies: 18
Views: 1764

Re: HOW REPORT PREVIEW CAN BE CUSTOMIZED ?

Hello Tim, I just want to briefly comment on inheritance. I use it. I think concepts always need to be reevaluated over and over again. The powerful editors with comparison functions (e.g., VS) make it very easy to compare different states of software. ...
by Otto
Mon May 15, 2023 6:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HOW REPORT PREVIEW CAN BE CUSTOMIZED ?
Replies: 8
Views: 748

Re: HOW REPORT PREVIEW CAN BE CUSTOMIZED ?

rpreview.prg is a CLASS. Because it is often upgraded, you can inherit it to your own class with the modifications. Thus if the preview class changes, you won't have to go back and modify the newer versions.
by TimStone
Sun May 14, 2023 9:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HOW REPORT PREVIEW CAN BE CUSTOMIZED ?
Replies: 8
Views: 748

Re: how to get "Userdef" EVENT for ACTION

hi Antonio, If so, then you need to inherit a class from TWindow and redefine HandleEvent() method and add support for such event CLASS TMyWindow FROM TWindow   CLASSDATA lRegistered   METHOD HandleEvent( nMsg, nWParam, nLParam )   METHOD ...
by Jimmy
Thu Mar 30, 2023 6:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get "Userdef" EVENT for ACTION
Replies: 5
Views: 538

Re: how to get "Userdef" EVENT for ACTION

... Parameter Type ) as both work with same FINDREPLACE Structure it must be same Way for ACTION ... but how under Fivewin :?: If so, then you need to inherit a class from TWindow and redefine HandleEvent() method and add support for such event have found CLASS TDlgFind() which use HB_FUNC( FINDTEXT ...
by Jimmy
Tue Mar 28, 2023 2:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get "Userdef" EVENT for ACTION
Replies: 5
Views: 538

Re: how to get "Userdef" EVENT for ACTION

Dear Jimmy,

Is the event sent to hwndOwner ?

If so, then you need to inherit a class from TWindow and redefine HandleEvent() method and add support for such event
by Antonio Linares
Tue Mar 28, 2023 10:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get "Userdef" EVENT for ACTION
Replies: 5
Views: 538

Re: Fivewin multi-threading Support ?

Question : are CLASSS DATA "visible" in Thread, call by hb_threadStart() "in" Method of CLASS, or i do i need to "pass" them as Parameter :?: can i use @::aSource or @MYaSource (per reference) :?: #define HB_THREAD_INHERIT_PUBLIC    1#define HB_THREAD_INHERIT_PRIVATE   ...
by Jimmy
Sun Feb 26, 2023 6:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin multi-threading Support ?
Replies: 9
Views: 828

Re: how to get WM_POWERBROADCAST under Fivewin ?

hi Antonio,
Antonio Linares wrote:You have to inherit a new class from TWindow and redefine the Method HandleEvent( nMsg, nWParam, nLParam )

Ok, thx i will try it
by Jimmy
Sat Feb 04, 2023 8:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get WM_POWERBROADCAST under Fivewin ?
Replies: 7
Views: 641

Re: how to get WM_POWERBROADCAST under Fivewin ?

Dear Jimmy, You have to inherit a new class from TWindow and redefine the Method HandleEvent( nMsg, nWParam, nLParam ) CLASS TMyWindow FROM TWindow   CLASSDATA lRegistered      METHOD HandleEvent( nMsg, ...
by Antonio Linares
Sat Feb 04, 2023 7:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get WM_POWERBROADCAST under Fivewin ?
Replies: 7
Views: 641

Re: SUB-CLASS TFolderEx()

Dear Jimmy,

Just inherit from TFolderEx, so instead of:

CLASS TFolderDXE FROM TFolderEx, TControl

do:

CLASS TFolderDXE FROM TFolderEx
by Antonio Linares
Thu Feb 02, 2023 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SUB-CLASS TFolderEx()
Replies: 20
Views: 1942
Next

Return to advanced search