Search found 159 matches: derived

Return to advanced search

New FTDN April 2024 (FWH 24.04)

... * FWMariaConnection: - New method Record( cTable, [cWhere] ) --> Record Object using the new FWMariaRecord class (source\classes\mariarec.prg) derived from tDataRow class. This enables editing a single existing record or a new record and saving to a table without having to open RowSet object, ...
by Antonio Linares
Wed Apr 24, 2024 7:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 0
Views: 45

Re: Question about performance RowSet

... for editing a single existing record and saving the modifications. oCn:Record(...) creates a FWMariaRecord class object. This class is derived from TDataRow class and can be used/edited and saved like any normal TDataRow object.
by nageswaragunupudi
Thu Mar 21, 2024 10:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about performance RowSet
Replies: 19
Views: 4041

Re: How to print character sigma in Haru?

Some notes for information: FWH does not provide THaruPDF class. Instead we have FWPDF class derived from TPDF class. PDF internal font list: CourierCourier-BoldCourier-ObliqueCourier-BoldObliqueHelveticaHelvetica-BoldHelvetica-ObliqueHelvetica-BoldObliqueTimes-RomanTimes-BoldTimes-ItalicTimes-BoldItalicSymbolZapfDingbats  ...
by nageswaragunupudi
Wed Aug 16, 2023 8:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to print character sigma in Haru?
Replies: 8
Views: 331

Re: Assigning lUseHaruPdf when TPrinter is sub-classed

>Using original printer class or derived class?
Using derived class as I don't want to rewrite the report.

>Using 'FILE cPdf" ?
Yes
by hua
Thu Aug 03, 2023 7:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Assigning lUseHaruPdf when TPrinter is sub-classed
Replies: 18
Views: 894

Re: Assigning lUseHaruPdf when TPrinter is sub-classed

Using original printer class or derived class?
Using 'FILE cPdf" ?
by nageswaragunupudi
Thu Aug 03, 2023 3:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Assigning lUseHaruPdf when TPrinter is sub-classed
Replies: 18
Views: 894

Re: Assigning lUseHaruPdf when TPrinter is sub-classed

We can not comment on your derived class.
but
Code: Select all  Expand view
PRINT oPrn FILE cPdf

does not ask for a file name again.
by nageswaragunupudi
Tue Aug 01, 2023 9:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Assigning lUseHaruPdf when TPrinter is sub-classed
Replies: 18
Views: 894

Re: Assigning lUseHaruPdf when TPrinter is sub-classed

... If you inherit from TPrinter, you should know how to match with FWPDF class thoroughly If not, do not use harupdf My personal advice is not to use derived class. Finally, it is upto you.
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: 894

Re: build Import LIB from LibPQ.DLL

... a method that is available to all Harbour classes. oObj:IsKindOf( "someclass" ) means the oObj is of class "someclass" or is derived from that class. What is has to do with "hardcode" ?
by nageswaragunupudi
Tue Jul 04, 2023 4:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: build Import LIB from LibPQ.DLL
Replies: 37
Views: 2818

Re: Numeric alignment with oPrn:SayText( )

From Whatnew * TWindow Method SayText( cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder ) Applies to all derived classes like dialogs and controls To be used in o:bPainted. function FW_SayText( hDC or oWnd, cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder ) Can ...
by Marc Venken
Wed May 17, 2023 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric alignment with oPrn:SayText( )
Replies: 8
Views: 537

Re: Using free AI power from our Harbour apps !!!

... of all this, be aware that the llama models are released under a non-commercial license, so you are not meant to ever use them (or any models derived from them) in any commercial production setting
by Antonio Linares
Sat Apr 01, 2023 8:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using free AI power from our Harbour apps !!!
Replies: 20
Views: 1674

Re: Version Info

hi Tim Yes. A while back Antonio posted code that set it up, and it worked, but now it doesn't. My code was derived from that original post. i had the Problem with 64 Bit App while 32 Bit App show it so i compare *.RC with HMG and Xbase++ and found different Setting this seems ...
by Jimmy
Wed Nov 02, 2022 11:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Version Info
Replies: 6
Views: 460

Re: Version Info

Yes. A while back Antonio posted code that set it up, and it worked, but now it doesn't.

My code was derived from that original post.
by TimStone
Wed Nov 02, 2022 10:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Version Info
Replies: 6
Views: 460

Re: right-click Menu for Control

but nothing for Right Button of Mouse TControl is derived from TWindow. You need to search both TControl and TWindow classes. You can see from TWindow class METHOD RButtonDown( nRow, nCol, nKeyFlags ) CLASS TWindow   if ::bRClicked ...
by nageswaragunupudi
Wed Oct 26, 2022 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: right-click Menu for Control
Replies: 5
Views: 275

Re: bOr / nOr : how to "add" Constante under FiveWin

... using ListView. For it to work with FWH Windows and dialogs, we have to derive the class from TControl. CLASS TGrid FROM TControl TControl is derived from TWinndow. So the new TGrid class already has all methods of TControl and TWindow. You need not spend your time in writing code from scratch ...
by nageswaragunupudi
Tue Oct 18, 2022 9:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bOr / nOr : how to "add" Constante under FiveWin
Replies: 8
Views: 405

Re: bOr / nOr : how to "add" Constante under FiveWin

If you make a class as derived from TWindow class (or better TControl class)

We can use Parent method:

Code: Select all  Expand view

oOurWnd:WinStyle( nNewStyle, lOnOff )
// .t. to add new style
// .f. to remove style, if already exists
 

This does everything that is needed.
by nageswaragunupudi
Tue Oct 18, 2022 8:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bOr / nOr : how to "add" Constante under FiveWin
Replies: 8
Views: 405
Next

Return to advanced search