Search found 162 matches: inherit

Return to advanced search

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: 503

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: 893

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: 412

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: 412

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: 395

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: 395

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: 395

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: 531

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: 504

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: 504

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: 1157

Request : Keyword FONT for Dialog and Window

... are same on Dialog / Window = same Parent why when using OOP ...hm ... :idea: --- when Parent have FONT, even when not use it, all Child will inherit it and can use it as Default than Keyword FONT are only need for Control which want to use "other" Font p.s. also FONT SIZE would ...
by Jimmy
Sat Nov 05, 2022 8:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Request : Keyword FONT for Dialog and Window
Replies: 1
Views: 228

Re: Manifest

... 11 the style of the windows and Are the dialogs always in the style of win 7 or even win XP? That is, I am afraid that fivewin does not exactly inherit the style of Windows otherwise what I wrote above is not explained. I am making a software and the main window has the style of Win 10, the ...
by Silvio.Falconi
Wed Oct 26, 2022 8:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Manifest
Replies: 22
Views: 1790

Re: FW Preview user style

I highly recommend NOT modifying the FW source. I recommend creating a new class that inherits from the FW class and create a method (with the same name) in that new class that contains the modification needed. This way when a new FW version comes out you won't have ...
by Marc Venken
Wed May 11, 2022 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW Preview user style
Replies: 24
Views: 1701

Re: FW Preview user style

I highly recommend NOT modifying the FW source. I recommend creating a new class that inherits from the FW class and create a method (with the same name) in that new class that contains the modification needed. This way when a new FW version comes out you won't have ...
by James Bott
Wed May 11, 2022 1:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW Preview user style
Replies: 24
Views: 1701
Next

Return to advanced search