Search found 25 matches: nlast

Searched query: nlast

by Antonio Linares
Fri Jan 24, 2025 10:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... usage).

Parameters: None

Return Value: None

Usage Example: (Internal use only - method version for codeblock usage)

260. GetPaintCols( nLast )

Description: Accessor for GetPaintCols (same as DATA member, method version for codeblock usage).

Parameters:

nLast: NUMERIC - Last column ...
by Antonio Linares
Fri Jan 24, 2025 10:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... updates the sort checkbox control (internal method).

Parameters: None

Return Value: None

Usage Example: (Internal use only)

187. GetPaintCols( nLast )

Description: Retrieves an array of columns to be painted, optimized for performance (internal method).

Parameters:

nLast: NUMERIC - Last ...
by Silvio.Falconi
Fri May 13, 2022 6:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Help with ascan
Replies: 16
Views: 1674

Re: Help with ascan

... oRit:setorder(0)
oRitardo:gobottom()
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
Sun Apr 17, 2022 11:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Nages Help for locate --- Resolved
Replies: 1
Views: 175

Re: Nages Help for locate

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

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

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 ...
by Silvio.Falconi
Tue Oct 20, 2020 6:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Printer class question - RESOLVED
Replies: 41
Views: 5740

Re: Printer class question

... bo.png

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 - 1,10 CM ...
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: 4226

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 way and besides I ...
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: 858

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

New FTDN September/Septiembre 2017 (FWH 17.09)

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

Re: XBrowse 16.04 : Gets in Header Bar

... 2
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, .t ...
by luisduque
Thu Sep 10, 2015 7:24 am
Forum: FiveWin para Harbour/xHarbour
Topic: Control Botón de Impresión
Replies: 8
Views: 1933

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

Re: Ir a una fila en un Query

... y los que me 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 MOVEDOR ...
by ShumingWang
Fri May 17, 2013 3:32 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse with full grid (Solved)
Replies: 14
Views: 5434

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

METHOD PrintPage() CLASS TPreview

... ya 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 ...