Re: Getting multiple sliders to interact in an NSMartix
Re: Getting multiple sliders to interact in an NSMartix
- Subject: Re: Getting multiple sliders to interact in an NSMartix
- From: j o a r <email@hidden>
- Date: Fri, 24 Jan 2003 16:59:16 +0100
Why do you need to subclass NSMatrix? The Cocoa framework are carefully
constructed to avoid from unneccesary subclassing. If you need an easy
way of constructing matrices with sliders I'd suggest that you create a
custom category to NSMatrix and a convenience factory method. You
should place custom logic in a delegate or controller, rather than in
the view / control.
Why do you need to find the names of the matrix cells (cells doesn't
have names)? You would use the tag, or the coordinates, of the cell to
locate it in a matrix.
j o a r
On Friday, Jan 24, 2003, at 16:51 Europe/Stockholm, Alexander Schutte
wrote:
So if i get ir Right, SliderAction: is a action of an custom class of
NSMatrix say sliderMatrix,
how then does sliderMatrix know which slider is which aka how do you
set the ne value for the second slider if the first changes. I don't
seem to find a way to get names into the NSMatrix cells.
_______________________________________________
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.