Hi all,
REALbasic "current"
Mac OS X "current", but concern all platforms!
I wanted to set all the columns of a ListBox as editable using the
following code, but it does not works; the error is OutOfBoundsException.
Is it worth a Feature Request ?
Used code:
ListBox1.ColumnType(-1) = ListBox.TypeEditable
Of course, There was not the "Use -1 to refer to all columns" in the
Notes section for this Property as in the Column Property (for example)
in the Language Reference (however, I typed the -1 value from memory,
hoping it works there...)
And, CellType override the ColumnType property, so it is not a problem
to set Editable (in this case) for all columns (on other cases, we can
just set the ColumnType for the needed Column!).
The Feature Request coul be to add -1 special trick to every place - in
the ListBox Control - it can be usefull;after all, it can be usefull in
many of the ListBox properties ;)
Your feeling ?
Emile
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|