Search found 133 matches: memoline

Return to advanced search

Re: Memoline long lines

... cTexto, 100 )         SYSREFRESH()         oPrn:CmSay( nLin := nLin + .4, 1.5, MEMOLINE( cTexto, 100, nLinha ), oFont )         IF nLin > 25            nLin ...
by karinha
Thu Sep 22, 2022 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memoline long lines
Replies: 6
Views: 524

Re: Memoline long lines

Never mind! I just discovered that Harbour memo functions implicitly support long lines! Great! :-)
by Enrico Maria Giordano
Thu Sep 22, 2022 9:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memoline long lines
Replies: 6
Views: 524

Re: Memoline long lines

I'm still searching for a solution. Any ideas? I need to read long lines (more than 254 characters) using MemoLine() with Harbour.
by Enrico Maria Giordano
Thu Sep 22, 2022 9:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memoline long lines
Replies: 6
Views: 524

Re: Printing RTF 22.03

The point we were making is while printing normal multi-line text across pages, we do not need the outdated method of using memoline()s. oPrn:SayText() will automatically help, if you closely observe the code. But right now, this is not possible with RTF text. We understand your issue. ...
by nageswaragunupudi
Tue Apr 12, 2022 3:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing RTF 22.03
Replies: 6
Views: 571

Re: Memoline long lines

I changed one of my project so that it is using hb_atokens now and it works very well, thank you!

EMG
by Enrico Maria Giordano
Tue Feb 15, 2022 8:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memoline long lines
Replies: 6
Views: 524

Re: Memoline long lines

Thank you, I'll think about it for future projects. For existing ones I need Memoline(). It is very fast if used in the proper way.

EMG
by Enrico Maria Giordano
Mon Feb 14, 2022 7:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memoline long lines
Replies: 6
Views: 524

Re: Memoline long lines

Dear Enrico,

MemoLine() is extremelly slow.

Better use this technique:
local aLines := hb_ATokens( MemoRead( "test.txt" ), CRLF )

lines length will not be an issue then
by Antonio Linares
Mon Feb 14, 2022 4:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memoline long lines
Replies: 6
Views: 524

Memoline long lines

Dear friends, how can I read long lines (ie. more than 254 characters long) using Memoline() with Harbour? xHarbour's Memoline() already supports long lines but the Harbour's one not.

EMG
by Enrico Maria Giordano
Mon Feb 14, 2022 11:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memoline long lines
Replies: 6
Views: 524

Re: RTF from Variable

... 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 absolutely nothing that addresses ...
by TimStone
Thu Dec 09, 2021 9:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4230

Re: RTF from Variable

...   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: 4230

ayuda con xbrowse

... clientes->tipodoc,; str(clientes->vendedor,2),; str(clientes->lista,2),; str(clientes->con_iva,2),; clientes->cuit,; memoline(clientes->conpago,40,1,.t.); headers "Numero",; "Nombre",; "Domic",; "C.Postal",; "Localidad",; ...
by jpcavagnaro
Thu Oct 28, 2021 9:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ayuda con xbrowse
Replies: 2
Views: 479

Re: How to read a unicode TXT file

... hf := memoread( cFilePath( exename() ) + "doc\1.txt" )   FOR x = 1 TO MLCount( hf )      cLinea:= MemoLine( hf,,x,.t.)      AAdd(a, cLinea)   NEXT   XBROWSER a Look at the second parameter of MLCount() and MemoLine. Set a proper value.
by Enrico Maria Giordano
Fri Oct 01, 2021 2:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read a unicode TXT file
Replies: 6
Views: 1183

Re: New FWH 21.06

yes at left and another one on right on the same area. memoline I afraid it no good because i not know the size of each items. I wish make two smaller ( as body invoice part ) on the same area, see my invoice picture Silvio esa solución es aporte de ...
by Silvio.Falconi
Mon Aug 02, 2021 7:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 21.06
Replies: 57
Views: 4811

Re: New FWH 21.06

yes at left and another one on right on the same area. memoline I afraid it no good because i not know the size of each items. I wish make two smaller ( as body invoice part ) on the same area, see my invoice picture Silvio esa solución es aporte de ...
by leandro
Mon Aug 02, 2021 3:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 21.06
Replies: 57
Views: 4811

Re: New FWH 21.06

Silvio, Isn't this what you were looking for ?                FOR nLoop := 1 TO nLineas                    cDes    := MEMOLINE(ALLTRIM(::detalle[i]["nombreproducto"]),nLargo,nLoop)                    IF nLoop == 1                         ...
by Silvio.Falconi
Sun Aug 01, 2021 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 21.06
Replies: 57
Views: 4811
Next

Return to advanced search