Search found 141 matches: saytext

Return to advanced search

Re: New FTDN March/Marzo 2022 (FWH 22.03)

... MULTIPLE OFF funciona. Nuevo ejemplo: \samples\testmult.prg * Print/Display Rich Text - Desde esta versión, los métodos/comandos existentes oWnd:SayText( cText, aRect, ... ) oPrn:SayText( cText, aRect, ... ) @ r,c PRINT TO oPrn TEXT cText SIZE w,h INCHES/CM/MM mostrará automáticamente RichText ...
by Antonio Linares
Mon Apr 11, 2022 4:11 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 626

New FTDN March/Marzo 2022 (FWH 22.03)

... MULTIPLE OFF command works. New sample: \samples\testmult.prg * Print/Display Rich Text - From this version, the existing methods/commands oWnd:SayText( cText, aRect, ... ) oPrn:SayText( cText, aRect, ... ) @ r,c PRINT TO oPrn TEXT cText SIZE w,h INCHES/CM/MM will automatically display RichText ...
by Antonio Linares
Sun Apr 10, 2022 7:02 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 626

Re: New: Print/Display RichText

Display RichText in any rectangular area of a window/dialog/control, by using the same method oWnd:SayText( cRichText, aRect )    oWnd:bPainted := <|hDC|      local oRect := oWnd:GetCliAreaRect()      oRect += { 60, ...
by nageswaragunupudi
Fri Mar 25, 2022 3:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New: Print/Display RichText
Replies: 11
Views: 1273

Print RTF using tPRINTER class ?????

... lx := 1 TO MLCount( oEndText:tagtext, 120,, .T. )      WOPAGEHEAD( oPrn, aHead )       oPrn:SayText( nRow, 2 * nCsp, MemoLine( oEndText:tagtext, 120, lx,, .T. ),nCsp*120, nRsp * 1.1, oFcond )      nRow += nRsp  ...
by TimStone
Fri Dec 10, 2021 6:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print RTF using tPRINTER class ?????
Replies: 6
Views: 761

Re: RTF from Variable

Dear Tim, This is the syntax for Class TPrinter Method SayText() METHOD SayText( nRow, nCol, cText, nWidth, nHeight, oFont, cAlign, nClrText, nClrBack, cUnits, ; nOutLineClr, nPenSize ) Please notice that you can use ANY font in oFont parameter, different ...
by Antonio Linares
Fri Dec 10, 2021 6:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4262

Re: RTF from Variable

... and NOT with a report. As stated above, for the complexity of my need, I cannot use a REPORT. I need the equivalent for RTF of this output: oPrn:SayText( nRow, 10 * nCsp, MemoLine( oEndText:tagtext, 60, lx,, .T. ),,, oFnorm ) I would expect a SayRTF() Method but in the tPrinter class there is ...
by TimStone
Thu Dec 09, 2021 9:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4262

Re: RTF from Variable

... 120,, .T. )      WOPAGEHEAD( oPrn, aHead )      IF lPrintColor         oPrn:SayText( nRow, 2 * nCsp, MemoLine( oEndText:tagtext, 120, lx,, .T. ),nCsp*120, nRsp * 1.1, oFcond, , CLR_RED )      ELSE  ...
by TimStone
Fri Dec 03, 2021 5:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4262

Re: Printer class question

... you the gray: oPrn:FillRect( { nRow - ( 1 * nRsp ), 5, nRow + ( nBoxLines * nRsp ), 84.8 * nCsp }, oPrnBrush ) And this gives you the text: oPrn:SayText( nRow, 41 * nCsp, "INVOICE: ",,, oFbold ) You define the fonts, brushes, and pens. nRow is determined by a counter you use in your ...
by TimStone
Tue Oct 20, 2020 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer class question - RESOLVED
Replies: 41
Views: 3392

Re: New FTDN July/Julio 2020 (FWH 20.07)

... - El constructor fromQry() no funciona a menos que el sql comience con SELECT. Solucionado. * Clases TPrinter y FWHPdf: cText en el método SayText() puede ser un bloque de código. Mira el ejemplo \FWH\samples\pdfharu1.prg * TMsgItem: Ahora el "prompt" también puede ser un bloque ...
by Antonio Linares
Sun Aug 02, 2020 12:15 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio 2020 (FWH 20.07)
Replies: 1
Views: 1213

New FTDN July/Julio 2020 (FWH 20.07)

... - Constructor fromQry() not working unless the sql starts with SELECT. Fixed. * TPrinter and FWHPdf classes: cText in method SayText can be a codeblock. See samples\pdfharu1.prg * TMsgItem: Now prompt can be a codeblock also. * FWMariaRowSet: - Method Rowset is not accepting ...
by Antonio Linares
Sat Aug 01, 2020 5:40 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio 2020 (FWH 20.07)
Replies: 1
Views: 1213

Re: ZOOM IN and ZOOM OUT

I tried making local aRect:= GetClientRect(oBtn:hWnd) FW_SayText( hDC, ; ltrim( str( ncella ) ), ; { aRect[1], aRect[2]+5 ,aRect[3]-10,aRect[4]-20 },oBold, CLR_WHITE, nARGB(255, colororange) , .f. ) https://i.postimg.cc/65sLbh1W/nu.png but it is lottery because i cannot guess the rig...
by Silvio.Falconi
Fri Apr 10, 2020 3:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ZOOM IN and ZOOM OUT
Replies: 2
Views: 459

ZOOM IN and ZOOM OUT

I tried to make a simulation zoom in and zoom out on my application the problem is when I reduce the btnbmp are reduced ok but then I cannot see the numbers to draw a number I use on bPainted ( for each btnbmp) a function FW_SayText( hDC, ; ltrim( str( ncella ) ), ; { 30, 2, 48, 25 },,oBold, CLR_WHI...
by Silvio.Falconi
Fri Apr 10, 2020 1:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ZOOM IN and ZOOM OUT
Replies: 2
Views: 459

Re: New FTDN February 2020 (FWH 20.02)

... PICTURE "HH:MM:SS" <other clauses> viewtopic.php?f=3&t=38455&p=229767#p229767 * Printer.prg - Corrección: Método SayText(): El signo & contenido en el texto se convierte como subrayado del siguiente carácter durante la impresión. Corregido. Consulte los detalles ...
by Antonio Linares
Fri Feb 28, 2020 7:55 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2020 (FWH 20.02)
Replies: 1
Views: 4663

Color and BOX with FW_SayText

I have now this config https://i.postimg.cc/G3sYzPZr/hhhhhh.jpg I use this command FW_SayText( hDC, ; ltrim( str( ncella ) ), ; { 30, 2, 48, 25 },,oBold, CLR_WHITE, nARGB(255, colororange) , .t. ) My customer ask me if I can modify the color border of the box ( In think it is the bor...
by Silvio.Falconi
Thu Feb 27, 2020 9:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color and BOX with FW_SayText
Replies: 0
Views: 410

New FTDN February 2020 (FWH 20.02)

... <other clauses> http://forums.fivetechsupport.com/viewtopic.php?f=3&t=38455&p=229767#p229767 * Printer.prg - Fix: Method SayText(): Ampersand (&) contained in text is coverted as underscrore of the next character while printing. Fixed. Please see for details and fix ...
by Antonio Linares
Wed Feb 26, 2020 10:24 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2020 (FWH 20.02)
Replies: 1
Views: 4663
PreviousNext

Return to advanced search

cron