Search found 21 matches: nfrom

Return to advanced search

Re: Calculate total pages

... & To pages selected on the print dialog when the FROM USER clause is used. This method returns a two dimension array but also you can pass the nFrom and nTo variables by reference, for example: aPages := oPrn:GetPages(@nFrom, @nTo)
by Marc Venken
Fri Nov 24, 2023 8:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 7824

FWH1905: FW_AT() Case insensitive search

We frequently use the functions AT( cSearch, cStr, [nFrom], [nEnd] ) // xHarbour AT( cSearch, cStr ) // Harbour HB_AT( cSearch, cStr, [nFrom], [nEnd] ) // Harbour In many cases, we may need to convert both cSearch and cStr to Upper/Lower case for the ...
by nageswaragunupudi
Wed Jun 26, 2019 4:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH1905: FW_AT() Case insensitive search
Replies: 0
Views: 641

Re: FW 16.11: XBrowse multi-font/colored cells

Syntax:
oBrw:SetGroupHeader( cGrpHdr, [nFrom], [nUpto], [oFont], [nAlign] )

In the above case:

oBrw:SetGroupHeader( "Section 1", 3, 5 )
by nageswaragunupudi
Mon Nov 28, 2016 6:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW 16.11: XBrowse multi-font/colored cells
Replies: 7
Views: 1731

progress bar

... // heat_update //----------------------------------------------------------------------------// FUNC Automatic( oMeter, nActual ) LOCAL n LOCAL nFrom := nActual FOR n = nFrom TO oMeter:nTotal step 0.001 nActual = n oMeter:Set( nActual ) NEXT nActual = oMeter:nTotal oMeter:Set( nActual ) RETURN ...
by brewster
Fri Jan 25, 2013 2:02 pm
 
Forum: FiveWin for CA-Clipper
Topic: progress bar
Replies: 2
Views: 3342

Re: Cambiar columna de posicion de un XBrowse

Solucionado!!! la instruccion seria oBrw:MoveCol(nFrom,nTo,.T.) lo que pasa es que no viene documentada en la ayuda.

Gracias!!
by RodolfoRBG
Sun Oct 03, 2010 4:29 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar columna de posicion de un XBrowse
Replies: 8
Views: 1190

xBrowse - extractline - speed

function ExtractLine( cText, nFrom ) I found out that if I use instead of nAt := At( CRLF, SubStr( cText, nFrom ) ) nAt := At( CRLF, cText, nFrom ) the speed of the function is much better. Is it save to remove SubStr here? Thanks in advance ...
by Otto
Wed Sep 15, 2010 3:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - extractline - speed
Replies: 1
Views: 449

Scripting

... , .t. ),::RunScrpt( cPrg, cParams, nWd ) ) METHOD RunScrpt( cPrg, cParams, nWd ) CLASS XXXXX local lRet := .t. local oRun local cTxtFile, cLine, nFrom := 1 local cPrgs := "Prgs\" if File( cPrgs + cPrg + ".prg" ) TRY if File( "comp.log" ) ferase( "comp.log" ...
by MdaSolution
Wed Jul 28, 2010 11:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Scripting
Replies: 0
Views: 398

Re: Problemas con TRichEdit

... static function PrintBox( lPreview ) local oPrn local aRTF := { 100, 1000 } // { nFrom, nTop } DEFAULT lPreview := .f. if lPreview PRINT oPrn NAME "FWH RICHEDIT FILE" PREVIEW else PRINT oPrn NAME "FWH RICHEDIT FILE" ...
by triumvirato
Fri Dec 11, 2009 7:17 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con TRichEdit
Replies: 13
Views: 5289

Re: Text file processing.

... to read line by line, we have found that this is a very fast way to do it, much faster than using MemoLine(): function ExtractLine( cText, nFrom )  local cLine, nAt  nAt := At( CRLF, SubStr( cText, nFrom ) )  if nAt > 0    cLine := Substr( cText, nFrom, nAt - ...
by Antonio Linares
Mon Nov 02, 2009 10:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Text file processing.
Replies: 6
Views: 2103

Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated

... oWndRC, oTree, oMemo, oSplit    local cRCFile := cGetFile( "*.rc", "Select a resources file" )    local cTxtFile, cLine, nFrom := 1, cItemText := "", cText    local oItem, oBmpItem, oDlgItem, oIcoItem, oMnuItem, oMnuString    DEFINE WINDOW oWndRC TITLE cRCFile ...
by Otto
Sun Aug 30, 2009 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Replies: 38
Views: 12558

... is # if yes I us another font. It is hardcoded but for my task ok. Regards, Otto IF left(cdata,1)="#" cLine = SubStr(ExtractLine( cData, @nFrom ),2) oFont1 := ::oFntGross oFont1:Activate( hDC ) SetTextColor( hDC, aColors[ 1 ] ) SetBkColor( hDC, aColors[ 2 ] ) DrawTextEx( hDC, cLine ,; ...
by Otto
Thu Jun 26, 2008 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: different fonts in the same cell xbrowse
Replies: 5
Views: 1240

... columna de texto. STRETHCOL_NONE es la opción por defecto para mantener la compatibilidad con versiones anteriores. 8. Nuevo método: MoveCol( nFrom, nTo ): En contraste con el método SwapCols que intercambia la posición de dos columnas, este método mueve una columna desde la posición "nFrom" ...
by Antonio Linares
Thu Apr 24, 2008 9:44 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April / Abril 2008 (8.04)
Replies: 1
Views: 3848

New FTDN April / Abril 2008 (8.04)

... the last column or stretching the last widest text column. STRETHCOL_NONE is default for keeping backward comaptibility. 8. New Method: MoveCol( nFrom, nTo ): In contrast to SwapCols method which swaps the position of two columns, this method moves a column from position nFrom to the new position ...
by Antonio Linares
Fri Apr 11, 2008 11:42 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April / Abril 2008 (8.04)
Replies: 1
Views: 3848

Addendum:

I can play again when using :play(nFrom,nTo) by specifying the nFrom and nTo parameters, but I don't know how to play again using :PlayFull().

Bert
by bterce@matrixcomputer.com
Sat Mar 31, 2007 2:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Tvideo
Replies: 4
Views: 1613

... rtf finished printing so you know where to start printing the next? That's exactly what comes back on the 2nd element that reprintbox returns ({ nFrom, nBottom }). I think the feature was document on what's new. I'm currently using it with very much success. I hope my comment helps. Reinaldo.
by reinaldocrespo
Sat Oct 21, 2006 6:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit
Replies: 3
Views: 1099
Next

Return to advanced search