| To: | Getting Started <gettingstarted at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Dynamic loading of arrayed controls in window on open |
| From: | FreeFL <freefl at free dot fr> |
| Date: | Wed, 27 Sep 2006 12:01:31 +0200 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | gettingstarted at lists dot realsoftware dot com |
| References: | <20060927011333 dot 84661 dot qmail at web51815 dot mail dot yahoo dot com> |
| 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>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Dynamic loading of arrayed controls in window on open, D P |
|---|---|
| Next by Date: | Mixing controls in an array, Bart Pietercil |
| Previous by Thread: | Re: Dynamic loading of arrayed controls in window on open, D P |
| Next by Thread: | Re: Dynamic loading of arrayed controls in window on open, D P |
| Indexes: | [Date] [Thread] [Top] [All Lists] |