In a message regarding Window array dated Tue, 27 Dec 2005 19:23:24 -0000,
Bernard Sunderland said that ...

>     Win(2).ListBox.Cell(etc)
> crashes on compiling since this ListBox does not yet exist.

My guess is youve dimensioned Win() as Window rather than as Window1

If so, you need to cast it.

Either of these should compile

  dim win() As Window1
  MsgBox win(2).ListBox1.cell(0,0)

  dim winnn() as Window
  MsgBox Window1(winnn(2)).ListBox1.cell(0,0)


--
Steve Garman
Using REALbasic 2005r4 Professional on Windows XP Pro


_______________________________________________
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