Search found 74 matches: nindex

Searched query: nindex

by Silvio.Falconi
Mon Sep 30, 2024 8:35 am
Forum: FiveWin for Harbour/xHarbour
Topic: eror on Isnum
Replies: 2
Views: 360

eror on Isnum

FUNCTION SerializeData(aInfo)
LOCAL cResult := ""
LOCAL nItemCount := LEN(aInfo)

FOR nIndex := 1 TO nItemCount
IF ISNUM(aInfo[nIndex][2]) <---- gave me error here
cResult += aInfo[nIndex][1] + "=" + ALLTRIM(STR(aInfo[nIndex][2], 10, 0)) + CHR(10)
ELSE
cResult += aInfo[nIndex][1 ...
by karinha
Fri May 17, 2024 1:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: also for obrw nheight
Replies: 10
Views: 1533

Re: also for obrw nheight

I like everything correct: How do I declare, NINDEX?

Me gusta todo correcto: ¿Cómo declaro, NINDEX?

Gracias, tks.

Regards, saludos.
by Silvio.Falconi
Fri May 17, 2024 1:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: also for obrw nheight
Replies: 10
Views: 1533

Re: also for obrw nheight

Incluso lo intento, pero no puedo entender esta lógica. ¿QUIÉN ES NINDEX?
I even try, but I can't understand this logic. WHO IS NINDEX?


SILVMARR.prg(275) Warning W0001 Ambiguous reference: 'NINDEX'

SILVMARR.prg(275) Warning W0001 Ambiguous reference: 'NINDEX'

SILVMARR.prg(277) Warning W0001 ...
by karinha
Fri May 17, 2024 11:26 am
Forum: FiveWin for Harbour/xHarbour
Topic: also for obrw nheight
Replies: 10
Views: 1533

Re: also for obrw nheight

Incluso lo intento, pero no puedo entender esta lógica. ¿QUIÉN ES NINDEX?
I even try, but I can't understand this logic. WHO IS NINDEX?


SILVMARR.prg(275) Warning W0001 Ambiguous reference: 'NINDEX'

SILVMARR.prg(275) Warning W0001 Ambiguous reference: 'NINDEX'

SILVMARR.prg(277) Warning W0001 ...
by Silvio.Falconi
Thu May 16, 2024 9:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: also for obrw nheight
Replies: 10
Views: 1533

Re: also for obrw nheight

... the xbrowse not return to initial state

https://i.postimg.cc/Qxs8KQQL/videot.gif


// Calculate the total height of the activated boxes
for nIndex := 1 to Len(aFilters)
if aFilters[nIndex, 1]
nVisibleBoxHeight += nBoxHeight
endif
next


// Adjust the height of the XBROWSE based on the ...
by Silvio.Falconi
Thu May 16, 2024 6:47 am
Forum: FiveWin for Harbour/xHarbour
Topic: also for obrw nheight
Replies: 10
Views: 1533

Re: also for obrw nheight

... oDlgx:= oBox[3]
else
oBox[2]:show()
oDlgx:= oBox[2]
oBrw:nBottomMargin += oBox[2]:nTop-2
Endif




chapGpt tell me this

For n= 1 to Len(aFilters)
IF aFilters[ nIndex, 1 ]
IF nBox <= len(oBox)
oBox[nIndex+1]:show()
oDlgx:= oBox[nIndex+1]
nbox++
Endif
Endif
next

but not run ok
by Silvio.Falconi
Tue May 14, 2024 7:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2894

Re: passing a value through a for..next loop

I tried to pass nIndex in the for next loop to bchange and the value is always the same

We need to keep in mind at all times, NOT to use loop variables in building code-blocks inside a loop.
Build the code-block in a separate function using the loop variable as one of the parameters of the function ...
by nageswaragunupudi
Mon May 13, 2024 7:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2894

Re: passing a value through a for..next loop

I tried to pass nIndex in the for next loop to bchange and the value is always the same

We need to keep in mind at all times, NOT to use loop variables in building code-blocks inside a loop.
Build the code-block in a separate function using the loop variable as one of the parameters of the function ...
by Silvio.Falconi
Mon May 13, 2024 9:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 2894

Re: passing a value through a for..next loop

... yourself

Nages

the main question was not about creating controls in for/next loop but to passa a value to bchange function

I tried to pass nIndex in the for next loop to bchange and the value is always the same

I made modifies on you sample https://forums.fivetechsupport.com/viewtopic.php?f ...
by Silvio.Falconi
Mon May 13, 2024 9:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: tdtabase and filter
Replies: 0
Views: 548

tdtabase and filter

... to use with tdatabase and the possiblity to select the state but I have problem to run the cfilter

1) when I go to ResetFilter( aFilters,oDbf, nIndex ) nIndex is allways 3
2) to create a filter I select the state and create the new filter ( ru nok I put as 3)

local cState:= space(25)

If ...
by Silvio.Falconi
Tue Jan 09, 2024 10:23 am
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 6330

Re: Create a Panel width a text

... work

and insert a new method to recalc the position nTop for each ::apanels as this

METHOD RecalcPosTask() CLASS TTaskPanel
local n

for n = ::nIndex + 1 to Len( ::oWnd:aPanels )
::nHeight = ::nTotalHeight()
for n = ::nIndex + 1 to Len( ::oWnd:aPanels )
::oWnd:aPanels[ n ]:nTop ...
by kpidata
Fri Sep 01, 2023 7:17 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Inhabilitar columna en xBrowse - Disable column in xBrowse
Replies: 2
Views: 2216

evitar que se active columna con xbrowse al dar un click

... el que me ayuden como se hace eso..


FUNCTION MENU_PRODUCTO(cEmpresa,cUsuario)
Local oDlg, oBrw, oFont2, oCol, oSay, oBtn2[ 9 ]
LOCAL oGet,nIndex,aIdx:={}
LOCAL cBusca:= Space(60)
Local cSeek:=""
Local oCampo, cCampo :=space(50)

cTab_Art:=xServer:Query("SELECT a.*, b.*, c.* FROM tab_art AS a ...
by Silvio.Falconi
Tue Dec 13, 2022 12:43 pm
Forum: FiveWin for Harbour/xHarbour
Topic: chatGPT writes and executes Harbour code !!!
Replies: 35
Views: 6661

Re: chatGPT writes and executes Harbour code !!!

aCombinaciones[nRow, nCol] = (nIndex - 1) MOD 90 + 1 ?????


How I can modify this ? what mean " MOD " ?

the function generated
FUNCTION Main(nChoice)
LOCAL aNumbers[90], nSumCyclo, nSumMath, nDistCyclo, nDistMath
LOCAL nRow, nCol, nIndex

// Inicializar la matriz de n£meros
FOR nIndex = 1 TO ...
by artu01
Sat Aug 06, 2022 5:44 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Cerrar un indice Temporal (Solucionado)
Replies: 9
Views: 1219

Re: Cerrar un indice Temporal

JoseLuis wrote:

Code: Select all | Expand

(aAlias[24])->(Ordsetfocus(nindex))
(aAlias[24])->(Dbgotop())
RETURN NIL
 


y si le pones
(aAlias[24])->(dbsetorder(nindex))
by Jimmy
Tue Aug 02, 2022 8:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS fwTVCL for IP-TV
Replies: 12
Views: 1252

Re: CLASS fwTVCL for IP-TV

... CLASS FWTVlc FROM TActiveX DATA oControl, oPlayList, oInput, oVideo, oAudio, oMedia DATA nStepVolume, nVolumen, nFilterRec, nRECNO, nIndex DATA cFileName DATA lRun DATA lLoop DATA lEndless DATA bRClicked, bMenu, bPlayNext DATA oFont, oParent DATA cTimer, lStream METHOD New&#40; oParent ...