On 27 déc. 05, at 20:23, Bernard Sunderland wrote:

Having put into use the point made by Araud Nicolet, I find a different major problem:

In an MDI App. I provide for the user to create any number of "New" examples of Window1 on which there are several controls, including a ListBox, so they form an array "Win()". The original Window1 remains invisible.

The problem is that I can not see a way to file the info entered to the ListBoxes in this array since it is not possible to refer in code to controls on the cloned windows before they exist. E.g:
    Win(2).ListBox.Cell(etc)
crashes on compiling since this ListBox does not yet exist.

I seen to be on the wrong track here. Can anyone point me in the right direction?

You create it first, add it to the array, then you use that array:

Win(UBound(Win)).ListBox.Cell(etc)

Should work.
_______________________________________________
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>

Reply via email to