Gets in loop

Gets in loop

Postby byte-one » Mon Dec 28, 2009 3:42 pm

Hello all,
i use a loop to make a serie of gets.

Code: Select all  Expand view
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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Gets in loop

Postby nageswaragunupudi » Tue Dec 29, 2009 7: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
User avatar
nageswaragunupudi
 
Posts: 10626
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 89 guests