Correct, I do not use tis class in listboxes with multiple selection
On 02/03/2006, at 11:25 AM, Arnaud Nicolet wrote:
Le 2 mars 06, à 01:11, Tom Benson a écrit:
Can't be too hard if I've managed it.
Looking back through my custom class I can see I've overidden the
CellBackgroundPaint event as well, so "if selected(index) and not
rowEnabled(index) then" don't draw the highlight, and switch
selection back to LastIndex.
Interesting. By "switch selection back to LastIndex.", I think you
mean "Deselect the disabled row.", right? (else, it won't work for
multiselection listboxes).
I wonder how the OS behaves in that case:
You have a listbox with these rows:
0
1
2
3
You disable the row "1";
You click on the row "2";
You press the "Shift" key with the "up arrow" key;
normally, this selects the rows "1" and "2" but since the row "1"
is disabled, should the row "0" be selected instead?
Well, a listbox is complex...
_______________________________________________
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>
All questions and answers unless otherwise stated are in Relation to
Mac OS X 10.4 and later.
_______________________________________________
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>