realbasic-nug
[Top] [All Lists]

Listbox.lastindex after listbox.removerow

To: "'REALbasic NUG'" <realbasic-nug at lists dot realsoftware dot com>
Subject: Listbox.lastindex after listbox.removerow
From: "Steve Smith" <km5gn at mac dot com>
Date: Tue, 31 May 2005 10:42:07 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AcVl90z9PUDdVy2TQ9+Ac1HoaDT/ww==
listbox.lastindex returns the row index of the last item added in a list,
however, after performing a listbox.removerow, lastindex is unchanged, and
referencing listbox.lastindex will give an out of bounds error. 
 
Is this the expected behaviour?
_______________________________________________
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>