Search found 333 matches: npos

Return to advanced search

New FTDN April 2024 (FWH 24.04)

... nMonth, nYear, nHours, nMinutes, nSeconds } Please review new example FWH\samples\fldchanged.prg * Enhancement: Class TExplorerBar Method Update( nPos ) updates the nPos oPanel used from the TExplorerBar after the panel has been modified. Class TTaskPanel Method ChangeHeight( nHeight ) changes ...
by Antonio Linares
Wed Apr 24, 2024 7:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 0
Views: 22

Re: Incorrecto numero de argumento para AT

carito wrote:Hola creo que estas usando mal el comando:

en clipper es AT(<cSearch>, <cTarget>) --> nPosition

en harbour es hb_At( <cSearch>, <cString>, [<nStart>], [<nEnd>] ) --> nPos

Saludos,
Carito


Tenias razon. gracias.
by goosfancito
Wed Jan 17, 2024 5:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Incorrecto numero de argumento para AT
Replies: 2
Views: 208

Re: Incorrecto numero de argumento para AT

Hola creo que estas usando mal el comando:

en clipper es AT(<cSearch>, <cTarget>) --> nPosition

en harbour es hb_At( <cSearch>, <cString>, [<nStart>], [<nEnd>] ) --> nPos

Saludos,
Carito
by carito
Wed Jan 17, 2024 3:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Incorrecto numero de argumento para AT
Replies: 2
Views: 208

Re: Insert an record on array

Dear Silvio, Arguments aArray The array name into which the value xValue will be inserted. nPos Subscript position in aArray. Default: 1st position xValue Value to be inserted lAutoSize Boolean flag to increase or not the size of aArray. Default value: .F. https://harbour.github.io/doc/harbour.html#hb_ains ...
by Silvio.Falconi
Mon Jan 15, 2024 9:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Insert an record on array
Replies: 4
Views: 826

Re: Insert an record on array

Dear Silvio, Arguments aArray The array name into which the value xValue will be inserted. nPos Subscript position in aArray. Default: 1st position xValue Value to be inserted lAutoSize Boolean flag to increase or not the size of aArray. Default value: .F. https://harbour.github.io/doc/harbour.html#hb_ains ...
by Antonio Linares
Sun Jan 14, 2024 6:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Insert an record on array
Replies: 4
Views: 826

Re: Insert an record on array

nageswaragunupudi wrote:
Code: Select all  Expand view
HB_AINS( oBrw:aArrayData, nPos, aRow, .T. )


nPos could be the number of record selected ?
by Silvio.Falconi
Fri Jan 12, 2024 4:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Insert an record on array
Replies: 4
Views: 826

Re: como obtengo el valor mas chico de un array

AScan( ASort( AClone( a ) ), { | n, nPos | n := cToD(a:cargo["fecha"]), If( nVal < n, nResult := AScan( a, n) ) - 1,), cToD(n) > nVal } )

estás seguro de que ese código te funciona bien ?
by Antonio Linares
Wed Aug 23, 2023 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: como obtengo el valor mas chico de un array
Replies: 10
Views: 490

Re: como obtengo el valor mas chico de un array

Gracias a ambos. tomo como ejemplo este: AScan( ASort( AClone( a ) ), { | n, nPos | If( nVal < n, nResult := AScan( a, n ) - 1,), n > nVal } ) en mi caso "n" voy a usarlo asi: cToD(a:cargo["fecha"]) Mi consulta: para que el codigo no ...
by goosfancito
Wed Aug 23, 2023 5:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: como obtengo el valor mas chico de un array
Replies: 10
Views: 490

Re: Error in FW_ArrayAsRecordSet Seek - Please help

... is to make an ASCAN into the array obtained with RsGetRows( oRs ), and then, position the cursor in the oRS recordset with Rs:AbsolutePosition := nPos. The code with de option: Function Main()   LOCAL aStruct := {}, aRegs := {}, oRs   SET EXCLUSIVE OFF   SET DATE FORMAT ...
by Cgallegoa
Tue Aug 08, 2023 10:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error in FW_ArrayAsRecordSet Seek - Please help
Replies: 6
Views: 358

TEdit on the RibbonBar

... of this symbol, but I don't know in which position to enter it. How to find out the number of the current position in the line in TEdit (a la oGet:nPos) ?
by Natter
Sat Jun 10, 2023 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TEdit on the RibbonBar
Replies: 0
Views: 138

Re: problem wth SetMultiSelectCol

... way to ensure compatibility with older developments. The best way to do it would be to add the lRefresh parameter in both methods METHOD Del( nPos, lRefresh ) CLASS TBar   local n   local lGroup:= ::aControls[ nPos ]:lGroup      DEFAULT lRefresh ...
by cnavarro
Sun Apr 30, 2023 1:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem wth SetMultiSelectCol
Replies: 11
Views: 677

Re: Agregar/Quitar columna xbrowse tiempo ejecución

Leandro,
En la clase TXBROWSE, existe el METHOD DelCol( nPos )
by cnavarro
Mon Apr 24, 2023 2:46 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Agregar/Quitar columna xbrowse tiempo ejecución
Replies: 7
Views: 588

Re: TFolder -> TFolderEx Difference

... Value assign to aSizes := --- METHOD PaintLR() have   nTextW = GetTextWidth() but PaintTB() not ... --- does METHOD DelItem(nPos) work correct :?: CLASS TFolder() have DelItem() and DelItemPos(nPos) ...
by Jimmy
Tue Jan 31, 2023 6:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TFolder -> TFolderEx Difference
Replies: 5
Views: 443

DBF REDE/WEB WINDOWS 7/10/11

... LOCAL aRet := {} LOCAL dData LOCAL nSele := Select() LOCAL cAvulso LOCAL cField, nLen LOCAL oMes,oEmp,oAvu LOCAL oPan, aCargo, cAno,lAllOk, nPos, aTemp, a // LOCAL cComp LOCAL nConti:=0 LOCAL nContador :=0 LOCAL nContador2:=0 local lEnd := .f. PUBLIC cComp PUBLIC cMesANO oPan := SWPanelWindow( ...
by wanderson8
Sun Jan 08, 2023 3:10 pm
 
Forum: All products support
Topic: DBF REDE/WEB WINDOWS 7/10/11
Replies: 0
Views: 9370

Re: Know the Column number clicked on the TXBrowse Header

From Mr. Rao:
To know the column number when created.
oBrw:bLClickHeaders := { |r,c,f,oCol| MsgInfo( oCol:nCreationOrder ) }
To know the present position in the visible columns ( position in oBrw:aCols )
oBrw:bLClickHeaders := { |r,c,f,oCol| MsgInfo( oCol:nPos ) }
by Antonio Linares
Thu Nov 17, 2022 9:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Know the Column number clicked on the TXBrowse Header
Replies: 5
Views: 469
Next

Return to advanced search