Table sort image question
Table sort image question
- Subject: Table sort image question
- From: "Jon C. Munson II" <email@hidden>
- Date: Mon, 5 Jan 2009 14:20:13 -0500
- Organization: JTA Enterprises LLC
Namaste!
I have the following call:
- (void)tableView:(NSTableView *)tv didClickTableColumn:(NSTableColumn
*)tableColumn
{
NSImage *sortImage = [tv indicatorImageInTableColumn:tableColumn];
...
}
The tableColumn in question has an up-triangle in the right side of the
column header.
Can anyone tell me why sortImage comes back with a 0x0 value?
Essentially what Im trying to do is determine the sort of the column. One
way I've found is to pull out the indicator image. I plan on comparing that
to a named image for one of the indicator images. If there is a better way
to do that, I'd love to know as I haven't dredged anything up on that yet.
Peace, Love, and Light,
Jon C. Munson II
"And Jesus looking upon them saith, With men it is impossible, but not with
God: for with God all things are possible." [Mark 10:27; KJV]
I sign "Peace, Love, and Light" for at least two reasons. First, it is my
truest desire for this planet and her people to live in Peace, with Love,
and in the Light of God. Second, to be an Ascended Master, one must Be. As
I wish to Be an Ascended Master (someday if not sooner), I must also Be -
thus I choose to Be Peace, Love, and Light as much as I can for everyone and
am therefore reflecting those thoughts to you.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden