Clicking checkbox in outline view without selecting row
Clicking checkbox in outline view without selecting row
- Subject: Clicking checkbox in outline view without selecting row
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 24 Feb 2005 05:56:19 -0500
I have a column of checkboxes in an NSOutlineView. When the user clicks a
checkbox, the row the checkbox is in automatically gets selected.
I would prefer that the user be able to click any checkbox without changing
the current row selection, but I can't find a way to make it work. I've
tried all the obvious delegate methods, but if I prevent the row from being
selected the checkbox never notices that it has been clicked.
Does anyone have a solution? I think I need a mechanism to let the click
pass through the row to the checkbox even though selection of the row is
suppressed by a "should" delegate method.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden