Wow, I'll have to check that.
Last time I checked when you destroyed a control instance the other
controls index properties were not reindexed.
Apologies.
- Tom
On 16/02/2007, at 12:51 AM, Steve Garman wrote:
In a message regarding Re: ZOrder (correction) dated Fri, 16 Feb 2007
00:20:27 +1100, Tom Benson said that ...
Say you have ClipCanvas(0), and you've called 'new ClipCanvas' 3
times
You now have
ClipCanvas(0)
ClipCanvas(1)
ClipCanvas(2)
ClipCanvas(3)
If you call ClipCanvas(2).Close in this example, you end up with
ClipCanvas(0)
ClipCanvas(1)
ClipCanvas(3)
Assuming ClipCanvas() is a control array, you certainly do not end
up with
that.
ClipCanvas(3) is reindexed as ClipCanvas(2)
--
Steve Garman
Using REALbasic Professional on Windows XP Pro
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>