didClickTableColumn, setHighlightedTableColumn
didClickTableColumn, setHighlightedTableColumn
- Subject: didClickTableColumn, setHighlightedTableColumn
- From: Brooks Bell <email@hidden>
- Date: Sat, 21 Dec 2002 00:43:10 -0500
In the Finder clicking on a column header first turns it gray. If you move
the cursor off of the column header the gray is removed. Only on the mouse
up do you get the selection of the column. Even then the gray remains
until the redraw of the window finishes at which point the previously
selected column is deselected and the newly selected column is highlighted
in blue.
In contrast, my NSTableView seems to be highlighting the column header blue
_before_ calling my didClickTableColumn method. The result is that for a
period of time (during the resorting and redrawing of the table) there will
be two column headers that are blue. The previous one (which isn't erased
until the redraw) and the new one (which was highlighted on the click from
somewhere before my didClickTableColumn got called).
I see the same thing happens in Stone Software's TimeEqualsMoney so I guess
this is just a characteristic of NSTableView. Has anyone worked around this
to provide the better behavior of the Finder?
Brooks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.