Search found 23 matches: nlines

Return to advanced search

Re: Cuenta erronea de lineas en txt

Prueba con oFile := TTxtFile():New( cFile )

nLines: = oFile:nTLines

Saludos
by TecniSoftware
Sat Jan 23, 2021 3:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cuenta erronea de lineas en txt
Replies: 7
Views: 777

Re: Reporte con Doble Renglon

... SIZE 35 FONT 2 _ccCadena2 := SubStr(aDatDetalle[nRegis,3],I+1) EXIT ENDIF NEXT It is much easier to use MLCount() and MemoLine() nLines := MLCount( cText, nLen ) cLine1 := MemoLine( cText, nLen, 1 ) cLine2 := MemoLine( cText, nLen, 2 )
by nageswaragunupudi
Sun Nov 01, 2020 7:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Reporte con Doble Renglon
Replies: 5
Views: 817

Re: funciones de FWH y Harbour en un archivo .txt

... HB_FRecno()->nLineNumber HB_FSelect([<nNewArea>])->nOldArea HB_FSize(<cFileName>)->nFileSize HB_FSkip([<nLines>])->Nil HB_FTempCreate([<cTempDir>],[<cPrefix>],[<nFileAttr>],[@<cFileName>])->nFileHandle HB_FuncPtr(<cFuncName>)->pFuncPointer ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5710

Re: Canal5 Calendar

... := { nRow, nCol } Local aAux, nMaxLen Local nHeight Local nWidth Local nHScreen := GetSysMetrics( 1 ) Local nWScreen := GetSysMetrics( 0 ) Local nLines if ::lVisible ::Hide() endif if cPrompt != nil ::cPrompt := cPrompt aAux := ::MaxLen( cPrompt ) nMaxLen := aAux[1] nLines := aAux[2] nWidth := ...
by Randal
Tue Feb 14, 2017 12:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Canal5 Calendar
Replies: 15
Views: 5697

PROBLEMAS CON EL TWBROWSE

... capturados, luego a veces marca error en el TWBROWSE:PAINT Alguien sabe porque ? METHOD Paint() CLASS TWBrowse local n := 1, nSkipped := 1, nLines local nSkip, nRealSkip local aInfo _WBRWSET_ if ::lIconView ::DrawIcons() return 0 endif CursorWait() aInfo:= ::DispBegin() if ::nRowPos == 1 ...
by ROBER68
Fri Jun 21, 2013 5:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PROBLEMAS CON EL TWBROWSE
Replies: 1
Views: 926

Re: Ayuda con TPRINTER

... //Aqui cambie en el Memoread Testprn5.prg por testxbr3.prg que es mas grande. local oPrn, cText := MemoRead( "testxbr3.prg" ), n := 0,nlines,nRow:= 0 local nRowStep, oFont PRINTER oPrn PREVIEW DEFINE FONT oFont NAME "Courier New" SIZE 0, -10 OF oPrn nRowStep = oPrn:nVertRes() ...
by Ramon Paredes
Mon Oct 10, 2011 6:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con TPRINTER
Replies: 9
Views: 2367

Re: Campo MEMO

... ......... ......... FItems->NOTAS :=mNotas ENDIF ENDIF // Para Imprimirlo/Mostrarlo IF !EMPTY(cTexto) // en cTexto tengo el campo MEMO nLines := MlCount(cTexto,50) // armo segmentos de 50 caracteres FOR nFor := 1 TO nLines // en nLines queda el numero de segmentos de 50 caracteres cLine ...
by LuisPonce
Thu May 26, 2011 3:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Campo MEMO
Replies: 20
Views: 3713

Re: XBrowse Array as MULTILINE

... needed to display the desired data by executing this inside a loop that walks through each element of the array looking at the column in question. nLines := Max( nLines, Len( a ) ) Then take the xbrowse object and change nDataLines property like this: oPcLbx:nDataLines := nLines And that should ...
by fraxzi
Fri Jun 25, 2010 4:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Array as MULTILINE
Replies: 17
Views: 4231

Re: XBrowse Array as MULTILINE

... needed to display the desired data by executing this inside a loop that walks through each element of the array looking at the column in question. nLines := Max( nLines, Len( a ) ) Then take the xbrowse object and change nDataLines property like this: oPcLbx:nDataLines := nLines And that should ...
by reinaldocrespo
Fri Jun 25, 2010 12:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Array as MULTILINE
Replies: 17
Views: 4231

Campo Memo en Mysql -- Ayuda

... y modificando bien usando TRichEdit(), el problema es como imprimo. cText := oDatos:Fields("documen"):Value cText = MEMOREAD( cText ) nLines := MlCount(cText,76) .. . .. FOR nFor := 1 TO nLines cLine := MemoLine(cText, 76, nFor) oPrn:CmSay( nRow,2, cLine, aoFont[6],,,,0) nRow+=0.5; ...
by ruben Dario
Wed Apr 07, 2010 10:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Campo Memo en Mysql -- Ayuda
Replies: 3
Views: 823

Re: Impresión de campos memos con clase Tprinter

dobfivewin, a ver si te entendi yo imprimo un campo memo asi con tprinter: cLeyen := Alltrim(Mi_campo_MEMO) IF !Empty(cLeyen) nLines := MLCOUNT(Mi_campo_MEMO,39) // ssco cuantas lineas tiene el campo memo con unalongitud de 39, (esa tu la puedes cambiar) FOR x := 1 TO nLines nRow += 0.4 ...
by Francisco Horta
Tue Aug 04, 2009 2:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresión de campos memos con clase Tprinter
Replies: 8
Views: 1220

... ::nHeightHead, 0 ), ; If( ::lFooting .and. ::lDrawFooters, ::nHeightFoot, 0 ), ; If( ::lDrawHeaders, ::nHeightSuper, 0 ) ) METHOD PageUp( nLines ) METHOD PageDown( nLines ) METHOD Paint() METHOD PanHome() METHOD PanEnd() METHOD PanLeft() METHOD PanRight() METHOD PostEdit( uTemp, nCol, ...
by Natter
Mon Sep 08, 2008 11:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bChange
Replies: 9
Views: 5460

Browsing generally

... DBGOTO( nLastRecno ) ) RETURN nLastRecno I sending a BrwBottom() Function Which is your want :-) Function BrwBottom( oBrw ) local nSkipped local nLines := oBrw:nRowCount() local n local bChange := oBrw:bChange oBrw:bChange := NIL oBrw:goBottom() oBrw:lHitBottom = .t. oBrw:lHitTop = .f. Eval( ...
by Antonio Linares
Wed Aug 27, 2008 7:35 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65266

Gilbert,

After assigning that style, please set oBrowse:nDataLines := nLines, to the desired amount of lines to show, thanks
by Antonio Linares
Mon Aug 18, 2008 6:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Line Breaks With Xbrowse
Replies: 1
Views: 608

... FWH, pero que permite el uso de una máscara PICTURE, incluyendo máscaras extendidas para valores de fechas. * Nuevo: Nueva función WheelScroll( [nLines] ) --> nLines, pone o devuelve la cantidad de líneas a usar por la rueda del ratón en su deplazamiento (scroll). Actualmente se usa en la ...
by Antonio Linares
Tue Jul 29, 2008 10:40 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July / Julio 2008 (8.07)
Replies: 4
Views: 3594
Next

Return to advanced search