| 26/09/06 ~ 18:13 -0700 :
| D P,
| " Dynamic loading of arrayed controls in window on open "
I suspect the dynamic loading of e is not kept in memory after
finish and this makes me sad.
Do not dim your e array in the open event but as properties of the window :
Declaration : e(8,8) as editfield
In the open event, you initialize the fields :
dim x, y, xx, yy as integer
For y = 20 to 180 step 20
For x = 20 to 180 step 20
yy = (y/20)-1
xx = (x/20)-1
e(yy,xx) = new EditField1
e(yy,xx).Left = x
e(yy,xx).Top = y
e(yy,xx).text = str(e(yy,xx).index)
e(yy,xx).Visible = True
Next x
Next y
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>