At 11:43 PM +0100 1/31/05, Ronald Vogelaar wrote:
How can I quickly set all cells in a listbox to TypeEditable? I tried the
following, but it gave me an outofboundsexception:
for i=0 to listbox1.columncount
listbox1.columntype(i)=Listbox.TypeEditable
next
That's because you're going one column too far. If ColumnCount = 5,
then you have columns 0 through 4, not 0 through 5.
Best,
- Joe
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
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>
|