Search found 1048 matches

by byte-one
Wed Jul 29, 2020 8:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE: Color of the record selector triangle
Replies: 2
Views: 498

XBROWSE: Color of the record selector triangle

How can i change the color of the triangle?
by byte-one
Wed May 20, 2020 11:24 am
Forum: FiveWin for Harbour/xHarbour
Topic: Increse input Buffer in WebSocket
Replies: 3
Views: 460

Re: Increse input Buffer in WebSocket

Code: Select all

LPBYTE buffer = ( LPBYTE ) hb_xgrab( 8192 );
should also

Code: Select all

LPBYTE buffer = ( LPBYTE ) hb_xgrab( 32350 );
by byte-one
Wed Apr 01, 2020 9:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: bug cWinVersion() [fixed in 20.04]
Replies: 17
Views: 1921

Re: bug cWinVersion() [still not fixed in 20.02]

Requiring also a corresponding manifest!
by byte-one
Wed Apr 01, 2020 9:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: Question to ArrTranspose()
Replies: 2
Views: 420

Re: Question to ArrTranspose()

Great, Thanks!
by byte-one
Tue Mar 31, 2020 9:41 am
Forum: FiveWin for Harbour/xHarbour
Topic: Question to ArrTranspose()
Replies: 2
Views: 420

Question to ArrTranspose()

Is there a function (in opposite to ArrTranspose()) that make from a array in form {{1,2,3},{4,5,6},{7,8,9}} a array {{1,4,7},{2,5,8},{3,6,9}}?
by byte-one
Sun Mar 08, 2020 8:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: TPRINTER/HARUPDF Pen
Replies: 3
Views: 927

Re: TPRINTER/HARUPDF Pen

Mr. Nages, i have made some modifications on printer.prg and fwpdf.prg to improve this effect! Can i send you (your email??) the files? All modifications are marked with BYTE-ONE.
by byte-one
Sun Mar 08, 2020 11:57 am
Forum: FiveWin for Harbour/xHarbour
Topic: TPRINTER/HARUPDF Pen
Replies: 3
Views: 927

Re: HARUPDF Pen

Mr. Nages, in TPrinter:

Code: Select all

ParamPen( anoPen, lNew )
.....
         hPen  := CreatePen( PS_SOLID, aPen[ 2 ] * ::nLogPixelX() / 72, aPen[ 1 ] )   //this calculation should be dependent from cUnits!
.....
by byte-one
Sat Mar 07, 2020 9:26 am
Forum: FiveWin for Harbour/xHarbour
Topic: TPRINTER/HARUPDF Pen
Replies: 3
Views: 927

TPRINTER/HARUPDF Pen

If i use the same oPen in tprinter and fwpdf the linewidth of box(...) are different! In tprinter the line are much stronger.
It seems, that box(..) in tprinter not compatible with older versions in case of using a pen-object. If i use oPen:hPen then is ok!
by byte-one
Thu Mar 05, 2020 4:49 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Nages please: HARU PDF Bugs/Extensions
Replies: 21
Views: 4640

Re: Mr. Nages please: HARU PDF Bugs/Extensions

With method PrintImage() pictures with fwpdf not showing or the ratio not correct! Please try with nHeight and nWidth with 20mm. http://byte-one.com/1.png http://byte-one.com/2.png http://byte-one.com/3.png If i before redefine with REDEFINE BITMAP .... and later using oBitmap:hBitmap in PrintImage(...
by byte-one
Thu Mar 05, 2020 3:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Nages please: HARU PDF Bugs/Extensions
Replies: 21
Views: 4640

Re: Mr. Nages please: HARU PDF Bugs/Extensions

Mr. Nages, i have a fix height of the picture to print. I must set the width of print respecting the ratio. So i calculate it with nPic_x := int( nPic_y * (oImage:nWidth() / oImage:nHeight()) ) from the predefined picture. The parameter lStretch := .T. without a nWidth gives wrong results! (differen...
by byte-one
Thu Mar 05, 2020 2:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Missing LIB
Replies: 13
Views: 1816

Re: Missing LIB

Can build all correctly! Only in pdfharu2 this error: Called from: => __ERRRT_SBASE( 0 ) Called from: ../../../tobject.prg => FWPDF:ERROR( 0 ) Called from: ../../../tobject.prg => (b)HBOBJECT( 0 ) Called from: ../../../tobject.prg => FWPDF:MSGNOTFOUND( 0 ) Called from: ../../../tobject.prg => FWPDF:...
by byte-one
Thu Mar 05, 2020 1:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Nages please: HARU PDF Bugs/Extensions
Replies: 21
Views: 4640

Re: Mr. Nages please: HARU PDF Bugs/Extensions

Mr. Nages, now a use the METHOD PrintImage() as you recommending. If i use as uImage an existing bitmap-object, on tprinter is ok but in fwpdf i get this error: Called from: => HB_HHASKEY( 0 ) Called from: .\source\classes\FWPDF.PRG => FWPDF:GETIMAGEFROMFILE( 732 ) Called from: .\source\classes\FWPD...
by byte-one
Thu Mar 05, 2020 12:41 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Missing LIB
Replies: 13
Views: 1816

Re: Missing LIB

Mr. Nages, in fwpdf is this code. If i remove from source this code the linking is ok! #pragma BEGINDUMP #include <hbapi.h> HB_LONG HPDF_Page_TextRect  ( void *          page,                      float            left,                      float            top,                      float           ...
by byte-one
Thu Mar 05, 2020 12:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Nages please: HARU PDF Bugs/Extensions
Replies: 21
Views: 4640

Re: Mr. Nages please: HARU PDF Bugs/Extensions

Please make the same behavour in both classes as i print out the same document to printer and make a pdf with haru. In Tprinter you have in code from ::say(...) if empty(nWidth)     ....LEFT     ....Right     ...center else   //nWidth are NOT empty     ....same as now in fwpdf only endif The same lo...