Re: Problem with NSOutlineView...resolved
Re: Problem with NSOutlineView...resolved
- Subject: Re: Problem with NSOutlineView...resolved
- From: Blake Hodgetts <email@hidden>
- Date: Mon, 15 Dec 2003 11:47:00 -0800
>
The one way I can see to do it -- a little messy -- is
>
actually to allow the change selection, but in
>
outlineView:shouldSelectItem:, if the selection turns out
>
not to be allowed, >then automatically reselect the previous
>
selection using selectRow:byExtendingSelection:. I'd have to
>
set some flags to prevent certain things from happening,
>
but it would at least >be possible. I don't want to do this
>
unless I have to -- it seems like a kludge -- but maybe it's
>
actually the best way to do it?
This turns out to be the right way to do it...it works perfectly
and seamlessly.
thanks
--blake
_______________________________________________
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.