Search found 23 matches: nlast

Return to advanced search

Re: Help with ascan

... nUltimo:= oRitardo:recno() aTemp:=oRit:dbftoarray() ritardo:= Rit( aTemp, number, npos,nUltimo ) Function Rit( aData, numero, npos, nLast ) local nCount := -1 nPos += 2 AEval( aData, { |a| If( a[npos] == numero, nCount++, nil ) },nLast ) return nCount
by Silvio.Falconi
Fri May 13, 2022 6:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with ascan
Replies: 16
Views: 915

Re: Nages Help for locate

... There is no Method locate() in TDatabase and locate is not buffered Function Locate_Records3(anno1,anno2,oDbf) local aLocate:= {} LOCAL nFirst,nLast oDbf:use() select(oDbf:nArea ) oDbf:gotop() locate for year(FIELD->data) = anno2 oDbf:load() if (oDbf:Found()) locate for year(FIELD->data) ...
by Silvio.Falconi
Sun Apr 17, 2022 11:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Nages Help for locate --- Resolved
Replies: 1
Views: 123

Re: How to change color of line in Header and Footer?

... the column-solution for vertical lines related to the col-positions calling BrwHeader(,, and BrwFooter(... :bPaintHeader := { | brw, hDC, aCols, nLast, hWhitePen, hGrayPen, hColPen | BrwHeader ; ( brw, hDC, aCols, nLast, hWhitePen, hGrayPen, hColPen ) } :bPaintFooter := { | brw, hDC, aCols, nLast, ...
by dutch
Wed Dec 23, 2020 10:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change color of line in Header and Footer? *Work Now*
Replies: 10
Views: 1145

Re: How to change color of line in Header and Footer?

... the column-solution for vertical lines related to the col-positions calling BrwHeader(,, and BrwFooter(... :bPaintHeader := { | brw, hDC, aCols, nLast, hWhitePen, hGrayPen, hColPen | BrwHeader ; ( brw, hDC, aCols, nLast, hWhitePen, hGrayPen, hColPen ) } :bPaintFooter := { | brw, hDC, aCols, nLast, ...
by ukoenig
Wed Dec 23, 2020 8:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change color of line in Header and Footer? *Work Now*
Replies: 10
Views: 1145

Re: Printer class question

... nRow := 5.5 nCol := 1 nWidth := 7.5 @ nRow , nCol PRINT TO oPrn TEXT cText SIZE nWidth - 1,10 CM FONT oFont ALIGN "TL" LASTROW nLast oPrn:Box( nRow, nCol, nLast + 0.5, nCol + nWidth, nil, CLR_HGRAY, nil, "CM" ) @ nRow+0.2 , nCol PRINT TO oPrn TEXT cText2 SIZE nWidth ...
by Silvio.Falconi
Tue Oct 20, 2020 6:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer class question - RESOLVED
Replies: 41
Views: 3346

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

Uwe, seem this function is not right with tdatabase as sad James and Nages FUNC CreaCodiceClienti(oDbf) LOCAL nLast := 0 local nArea := Select() oDbf:OrdSetFocus(0) oDbf:GoBottom() nLast := Val(oDbf:NumCli) + 1 Select (nArea) RETURN StrZero(nLast,4) I have always done it this ...
by Silvio.Falconi
Sun Mar 31, 2019 4:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 3658

Re: Preview and save to pdf at the same time

... PrintPage() CLASS TPreview .... if ! lCancel MsgRun( ::oDevice:cDocument, "Imprimiendo Reporte",; { || ::PrintPrv( nil, nOption, nFirst, nLast ) } ) // daniel 2016-07-29 * ? 'ACA GUARDAR PDF',oApp:lGuardarPDF,oApp:cImprimiendo IF oApp:lGuardarPDF IF oApp:cImprimiendo == 'RECIBO' cRutaPDF:=oApp:cRutaPDFRecibos ...
by puenteda
Mon Dec 31, 2018 7:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview and save to pdf at the same time
Replies: 1
Views: 829

New FTDN September/Septiembre 2017 (FWH 17.09)

... Added clause ITEMDEFAULT in TMenuItem: paint bold item - Added new DATAS: DATA lRadio INIT .F. DATA lRadioCheck INIT .F. DATA nFirst INIT 0 DATA nLast INIT 0 DATA nCheck INIT 0 DATA lDefault INIT .F. - The GetnHeightItem () and GetnWidthItem () functions can be applied equally, but do not produce ...
by Antonio Linares
Wed Oct 04, 2017 7:43 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2017 (FWH 17.09)
Replies: 3
Views: 3338

Re: XBrowse 16.04 : Gets in Header Bar

... nrowpos:=-2 else nRowPos := Int( nTmp / ::nRowHeight ) + 1 end 4. method paint() class txbrowse if ::lgetbar for nFor := 1 to nLast if aCols[ nFor ] > nBrwWidth exit endif oCol := ::ColAtPos( nFor ) oCol:PaintData( nRow-::nrowheight*2, aCols[ nFor ], nHeight, lHighLite, ...
by ShumingWang
Mon Sep 05, 2016 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse 16.04 : Gets in Header Bar
Replies: 34
Views: 10021

Re: Control Botón de Impresión

... rpreview METHOD PrintPage() CLASS TPreview local hMeta := ::oMeta1:hMeta local oDlg, oRad, oPageIni, oPageEnd local nOption := 1, nFirst := 1, nLast := Len( ::oDevice:aMeta ) // DEVICE local oThis := Self local lCancel := .t. if nLast != 1 DEFINE DIALOG oDlg SIZE 400, 183 TITLE FWString( "Printing" ...
by luisduque
Thu Sep 10, 2015 7:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Control Botón de Impresión
Replies: 8
Views: 1437

Re: Ir a una fila en un Query

... puedan ayudar, ahora estoy haciendo: oServer:Insert("ausentes",aFields,aValues) oQuery:=oServer:Query("SELECT LAST_INSERT_ID() AS nLast FROM ausentes LIMIT 1") MOVEDOR:=oQuery:nLast oQuery:End() ausentes:refresh() // para refrescar el query y, para hacer mover el puntero a ...
by TOTOVIOTTI
Thu Oct 16, 2014 7:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ir a una fila en un Query
Replies: 11
Views: 1131

Re: XBrowse with full grid

... == LINESTYLE_NOLINES nTemp := 2 case nColStyle < LINESTYLE_INSET nTemp := 1 otherwise nTemp := 0 end case ... ... //---------------------- if nLast == Len( ::aDisplay ) nCol := acols[ nFor ] - nTemp nWidth := ::BrwWidth() - 4 if nRowStyle != LINESTYLE_RAISED DrawHorz( hDC, nRow, nCol, nWidth, ...
by ShumingWang
Fri May 17, 2013 3:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse with full grid (Solved)
Replies: 14
Views: 4767

METHOD PrintPage() CLASS TPreview

... no vuelve a salir... DEFINE DIALOG oDlg RESOURCE "PRINT" REDEFINE BUTTON ID 101 OF oDlg ; ACTION oThis:PrintPrv( oDlg, nOption, nFirst, nLast ) REDEFINE BUTTON ID 102 OF oDlg ACTION oDlg:End() REDEFINE RADIO oRad VAR nOption ID 103, 104, 105 OF oDlg ; ON CHANGE If( nOption==3 ,; ( oPageIni:Enable(), ...
by thefull
Mon Feb 27, 2012 5:31 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: METHOD PrintPage() CLASS TPreview
Replies: 0
Views: 640

Verificar password en unzip xharbour

Hola a todos. Tengo una aplicaciòn con opcion de Copias de Respaldo, con la siguiente linea lOk:= HB_ZipFile( cNameZip, aFile, 9,{|x,i| PINTAR(i, nLast, oProg) } ,; TRUE, cCodAlm, TRUE, FALSE ) //, pFileProgress ) donde cCodAlm es una variable alfanumerica de 3 digitos que constituye el password ...
by praul
Wed Sep 21, 2011 4:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Verificar password en unzip xharbour
Replies: 0
Views: 595

Re: CAMBIAR IMAGEN DE FONDO

... ".\bmp\SiGeCo_iGO32.jpg" oImg:= TImage():Define( , cLogo ) PalBmpDraw( hDC, (soWnd0:nHeight-oImg:nHeight ) /3, soSplit:nFirst+( soSplit:nLast-oImg:nWidth) /2, oImg:hBitmap,, oImg:nWidth, oImg:nHeight,, TRUE ) // Fin
by MarioG
Mon Jul 11, 2011 1:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAMBIAR IMAGEN DE FONDO
Replies: 10
Views: 3821
Next

Return to advanced search