FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Gets in loop
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Gets in loop
Posted: Mon Dec 28, 2009 03:42 PM
Hello all,
i use a loop to make a serie of gets.

Code (fw): Select all Collapse
for i = 1 to 18
     TGet():New( nRow, 10, GenLocalBlock( aLabel[3,nIndex,i], 1 ),oDlg1, 50, nH,,,,,,,,.T.,"Text",.T.) //Text
next


My problem is the change of the variable nIndex, when an other (sub)array aLabel[3,nIndex,i] is to show. The refresh are not functioning. How to made?
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Gets in loop
Posted: Tue Dec 29, 2009 07:55 AM

Please try changing GenLocalBlock( aLabel[3,nIndex,i], 1 ) as GenLocalBlock( aLabel, 3,nIndex,i, 1 )
and within function GenLocalBlock( aLabel, n, nIndex, i, m ) refer to aLabel[ m, nIndex, i ]

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion