realbasic-nug
[Top] [All Lists]

Re: OutOfBounds err on window.show

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: OutOfBounds err on window.show
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Wed, 30 Jul 2003 20:42:36 -0700
At 6:32 PM -0700 7/30/03, Mike Carter wrote:

There is a ListBox control in the window, along with a couple methods and properties. According to the description of the OutOfBounds error, there would have to be an array somewhere that leaked past its bounds.

No, that is just one example of what can cause an OutOfBounds exception. Lots of other things too, like trying to access a column that doesn't exist in a listbox.

I commented out *all* the methods except for Open and Close, which I simply called me.show and me.hide. I still got the outofbounds error.

So, comment out the Open code too. Or better yet, put a breakpoint in it and step through it, and see where the exception occurs.

Best,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.


<Prev in Thread] Current Thread [Next in Thread>