Tenias razon. gracias.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
Search found 30 matches: nposition
Searched query: nposition
- Wed Jan 17, 2024 5:32 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Incorrecto numero de argumento para AT
- Replies: 2
- Views: 418
Re: Incorrecto numero de argumento para AT
- Wed Jan 17, 2024 3:32 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Incorrecto numero de argumento para AT
- Replies: 2
- Views: 418
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
en clipper es AT(<cSearch>, <cTarget>) --> nPosition
en harbour es hb_At( <cSearch>, <cString>, [<nStart>], [<nEnd>] ) --> nPos
Saludos,
Carito
- Fri Apr 29, 2022 8:08 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How write a right name of a field
- Replies: 6
- Views: 763
Re: How write a right name of a field
... fields
I not know wich field the function need, I not have the name of field
If I made a function Estrazione (n,r,p)
it must found the n record r route p position.
odbf:goto(n) // record
croute :=giveroute(r)
nposition:=p
cfield:= left(croute,2)+ltrim(str(nposition)) // sample NZ3
so
odbf:&cfield
I not know wich field the function need, I not have the name of field
If I made a function Estrazione (n,r,p)
it must found the n record r route p position.
odbf:goto(n) // record
croute :=giveroute(r)
nposition:=p
cfield:= left(croute,2)+ltrim(str(nposition)) // sample NZ3
so
odbf:&cfield
- Thu Nov 11, 2021 10:35 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: To Nages : other problem with oPrn:Box
- Replies: 0
- Views: 255
To Nages : other problem with oPrn:Box
... https://i.postimg.cc/ydvNZ40V/table.png
Then I insert the position and the align
cAlign:= String_Align (nAlign,nPosition)
Function String_Align (nAlign,nPosition)local cPosition,cAlign//position DO CASE Case nPosizione=1 cPosition:="T" Case nPosizione=2 ...
Then I insert the position and the align
cAlign:= String_Align (nAlign,nPosition)
Function String_Align (nAlign,nPosition)local cPosition,cAlign//position DO CASE Case nPosizione=1 cPosition:="T" Case nPosizione=2 ...
- Thu May 06, 2021 7:45 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: OrdCreate resolved !!
- Replies: 1
- Views: 463
OrdCreate resolved !!
... RECNO(),,,, )
OrdCreate( ::aIdx[ i, 2, k, 3 ], ::aIdx[ i, 2, k, 2 ], ::aIdx[ i, 2, k, 1 ], &bCode )
NEXT
DbCloseArea()
::oMeter:nPosition := ( ( i * 100 ) / Len( ::aIdx ) )
NEXT
the "!deleted()" where I can insert ?
I tried with
bCode := "{ || " + ::aIdx[ i, 2, k, 1 ...
OrdCreate( ::aIdx[ i, 2, k, 3 ], ::aIdx[ i, 2, k, 2 ], ::aIdx[ i, 2, k, 1 ], &bCode )
NEXT
DbCloseArea()
::oMeter:nPosition := ( ( i * 100 ) / Len( ::aIdx ) )
NEXT
the "!deleted()" where I can insert ?
I tried with
bCode := "{ || " + ::aIdx[ i, 2, k, 1 ...
- Wed Sep 18, 2019 2:34 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Iniciandome en el manejo de tablas HASH
- Replies: 22
- Views: 6466
Re: Iniciandome en el manejo de tablas HASH
hb_HDel(<hHash>, <Key>) ➜ hHash
Deletes a key and it’s associated value from a hash table.
hb_HDelAt(<hHash>, <nPosition>) ➜ hHash
removes an entry from a hash table, based on its index position.
- Fri Sep 13, 2019 8:35 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: New TprogressWheel
- Replies: 72
- Views: 14298
Re: New TprogressWheel
... for other procedures. I can use the tprogress to index an archive or an array. the indefinite command could be used instead of the cursor wait on / wait off but put a sound to do what I didn't understand ... do you want to scan every position? you can insert a sound for each oProgress:nposition
- Tue Apr 16, 2019 7:40 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: XBROWSE Border on cells
- Replies: 27
- Views: 5251
Re: XBROWSE Border on cells
... OFF is drawing a border on cellclick
The border is painted with :
oBrw:bPainted := < |hDC|
CELL_BORDER( oBrw, hDC, nColRow, nColPos, nOption, nPosition,;
nRGBColor, nPensize, nRound, nTranpL, lCol )
RETURN NIL
>
the new position the border has to be painted :
oBrw:bChange := { || nColPos ...
The border is painted with :
oBrw:bPainted := < |hDC|
CELL_BORDER( oBrw, hDC, nColRow, nColPos, nOption, nPosition,;
nRGBColor, nPensize, nRound, nTranpL, lCol )
RETURN NIL
>
the new position the border has to be painted :
oBrw:bChange := { || nColPos ...
- Thu Oct 04, 2018 4:17 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Funciones de Arrays()
- Replies: 4
- Views: 915
Re: Funciones de Arrays()
Hola. También podés intentar asi:
AINS(aTarget, nPosition, aBlankEle, .t.)
AINS(aTarget, nPosition, aBlankEle, .t.)
- Sun Oct 22, 2017 4:40 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: funciones de FWH y Harbour en un archivo .txt
- Replies: 7
- Views: 7028
Re: funciones de FWH y Harbour en un archivo .txt
... cDelimiter>],[<nTokenPos>],[<nSkipWidth>],[@<cPreTokenSep>],[@<cPostTokenSep>])->cToken
TokenAt([<lNextDelimiter>],[<nCount>],[@<cTokenEnv>])->nPosition
TokenEnd([@<cTokenEnv>])->lTokenEnd
TokenExit()->lSuccess
TokenInit([@<cString>],[<cDelimiter>],[<nSkipWidth>],[@<cTokenEnv>])->lSuccess ...
TokenAt([<lNextDelimiter>],[<nCount>],[@<cTokenEnv>])->nPosition
TokenEnd([@<cTokenEnv>])->lTokenEnd
TokenExit()->lSuccess
TokenInit([@<cString>],[<cDelimiter>],[<nSkipWidth>],[@<cTokenEnv>])->lSuccess ...
- Sat Oct 21, 2017 8:44 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: funciones de FWH y Harbour en un archivo .txt
- Replies: 7
- Views: 7028
Re: funciones de FWH y Harbour en un archivo .txt
... cDelimiter>],[<nTokenPos>],[<nSkipWidth>],[@<cPreTokenSep>],[@<cPostTokenSep>])->cToken
TokenAt([<lNextDelimiter>],[<nCount>],[@<cTokenEnv>])->nPosition
TokenEnd([@<cTokenEnv>])->lTokenEnd
TokenExit()->lSuccess
TokenInit([@<cString>],[<cDelimiter>],[<nSkipWidth>],[@<cTokenEnv>])->lSuccess ...
TokenAt([<lNextDelimiter>],[<nCount>],[@<cTokenEnv>])->nPosition
TokenEnd([@<cTokenEnv>])->lTokenEnd
TokenExit()->lSuccess
TokenInit([@<cString>],[<cDelimiter>],[<nSkipWidth>],[@<cTokenEnv>])->lSuccess ...
- Sat Oct 21, 2017 8:44 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: funciones de FWH y Harbour en un archivo .txt
- Replies: 7
- Views: 7028
Re: funciones de FWH y Harbour en un archivo .txt
... AChoice(<nTop>,<nLeft>,<nBottom>,<nRight>,<acMenuItems>,[<alSelectableItems>|<lSelectableItems>],[<cUserFunction>],[<nFirstItem>],[<nFirstRow>])->nPosition
AClone(<aArray>)->aDuplicate
ACopy(<aSource>,<aTarget>,[<nSourceStart>],[<nCount>],[<nTargetStart>])->aTarget
ACos(<nRadians>)->nArcCosine ...
AClone(<aArray>)->aDuplicate
ACopy(<aSource>,<aTarget>,[<nSourceStart>],[<nCount>],[<nTargetStart>])->aTarget
ACos(<nRadians>)->nArcCosine ...
- Mon Mar 27, 2017 9:10 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: EJECUTAR UN .EXE
- Replies: 13
- Views: 2929
Re: EJECUTAR UN .EXE
... incrustar_calculadora( ocontainer )
METHOD Incrustar( hwnd )
METHOD liberar_programa( hwnd )
METHOD GetMenu( hwnd )
METHOD DeleteMenu( hmenu, nposition, wflags )
METHOD GetMenuItemCount( hmenu )
METHOD DrawMenuBar( hwnd )
METHOD GetWindowLong( hwnd, nindex )
METHOD SetWindowLong( hwnd, nindex ...
METHOD Incrustar( hwnd )
METHOD liberar_programa( hwnd )
METHOD GetMenu( hwnd )
METHOD DeleteMenu( hmenu, nposition, wflags )
METHOD GetMenuItemCount( hmenu )
METHOD DrawMenuBar( hwnd )
METHOD GetWindowLong( hwnd, nindex )
METHOD SetWindowLong( hwnd, nindex ...
- Sat Feb 27, 2016 9:28 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: encoding from array
- Replies: 3
- Views: 525
Re: encoding from array
perhaps I found the error
For k= 1 to 5 // numeri
If nposition[k]= alltrim("a")
nline:= 1
elseif nposition[k]= alltrim("b")
nline:= 2
elseif nposition[k]= alltrim("c")
nline:= 3
endif
nNumbers[k]:= aline[nline][k]
next k
nopw seem to run ok
For k= 1 to 5 // numeri
If nposition[k]= alltrim("a")
nline:= 1
elseif nposition[k]= alltrim("b")
nline:= 2
elseif nposition[k]= alltrim("c")
nline:= 3
endif
nNumbers[k]:= aline[nline][k]
next k
nopw seem to run ok
- Wed Feb 11, 2015 2:37 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Lista de funciones de [x]harbour con sus parametros para edi
- Replies: 2
- Views: 1145
Lista de funciones de [x]harbour con sus parametros para edi
... nLeft>, <nBottom>, <nRight>, <acMenuItems>, [<alSelectableItems> | <lSelectableItems>], [<cUserFunction>], [<nFirstItem>], [<nFirstRow>]) -> nPosition
AClone(<aArray>) -> aDuplicate
ACopy(<aSource>, <aTarget>, [<nSourceStart>], [<nCount>], [<nTargetStart>]) -> aTarget
ACos(<nRadians ...
AClone(<aArray>) -> aDuplicate
ACopy(<aSource>, <aTarget>, [<nSourceStart>], [<nCount>], [<nTargetStart>]) -> aTarget
ACos(<nRadians ...