• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Where to pu setIndicatorImage: ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Where to pu setIndicatorImage: ?
      • From: Olivier <email@hidden>
  • Prev by Date: Re: Debugging a service.
  • Next by Date: NSThread and NSAutoReleasePool
  • Previous by thread: Re: Super vs. self (newbie question)
  • Next by thread: Re: Where to pu setIndicatorImage: ?
  • Index(es):
    • Date
    • Thread