Where to pu setIndicatorImage: ?
Where to pu setIndicatorImage: ?
- Subject: Where to pu setIndicatorImage: ?
- From: "Tony S. Wu" <email@hidden>
- Date: Sat, 10 Aug 2002 10:03:40 -0700
In this function:
- (void)tableView: (NSTableView*)tableView
mouseDownInHeaderOfTableColumn: (NSTableColumn *)theColumn
I have this line:
[entryTable setIndicatorImage:
(sortDirection == 0) ?
[NSTableView _defaultTableHeaderSortImage] :
[NSTableView _defaultTableHeaderReverseSortImage]
inTableColumn: theColumn];
for setting a table column's indicator image when user clicks on a header
view.
The problem is because I put the line in mouseDownInHeaderOfTableColumn, it
gets called also when user is dragging and resizing the column.
I am sure there is another place to do this.
Thanks for your advice.
Tony S. Wu
email@hidden
"Nope, this world ain't perfect. But at least I know it's not because of
me."
_______________________________________________
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.