Search found 336 matches: npos

Return to advanced search

Re: DBF How to obtain an array containing record number

Good morning Marco, I didn't quite understand your question, but I think the correct thing would be: nPos := OrdKeyNo() Explain better what you want to do and what the purpose is, pls. Buenos días Marco, no entendí bien tu pregunta, pero creo que lo correcto sería: nPos := ...
by karinha
Wed Oct 09, 2024 2:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF How to obtain an array containing record number
Replies: 16
Views: 454

Re: Demo version

... taken from fwh package notes Tbtnclr (SuperHeaders) MultiHeaders for XBrowse ( changed later from Nageswarao) class TExplorerBar Method Update( nPos ) Class TTaskPanel Method ChangeHeight( nHeight ) Fixed RibbonBar bug TProgressWheel class, samples\ListVie.prg using a TListBox and drag & ...
by Silvio.Falconi
Tue Sep 24, 2024 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Demo version
Replies: 29
Views: 921

Re: New FTDN April 2024 (FWH 24.04)

... } Por favor, revisa nuevo ejemplo en FWH\samples\fldchanged.prg * Mejora: En el método Update( Pos ) de la clase TExplorerBar, actualiza el nPos del objeto oPanel utilizado desde TExplorerBar después de que el panel haya sido modificado. Clase TTaskPanel el método ChangeHeight( nHeight ) ...
by Antonio Linares
Wed May 01, 2024 7:04 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 1
Views: 2105

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: 1
Views: 2105

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: 336

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: 336

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: 1084

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: 1084

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: 1084

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: 963

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: 963

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: 567

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: 225

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: 1008

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: 889
Next

Return to advanced search