Re: Dragging Views and Cursor
Re: Dragging Views and Cursor
- Subject: Re: Dragging Views and Cursor
- From: Andreas Mayer <email@hidden>
- Date: Sun, 11 Apr 2004 07:13:19 +0200
Am 10.04.2004 um 21:12 schrieb Seth Willits:
I don't see a way to add, remove, or find cells in a control. I
obviously don't understand how the interaction between cells and
controls work, and the concept document is fairly brief. Especially
subclassing.
Yes it is. That's one reason I made AMRollOverButton public ...
Actually you'll probably not use more than one cell, but change the
cell's content before drawing. At least that's what NSTableView and
other Cocoa controls do and I adopted that behaviour.
That's all it is in my view model too. Just move views inside of a
single view. I just don't know how to do it.
Moving the views? Isn't that just a matter of changing their frame's
origin?
Could I perhaps see the code to the multiple-cell control so I can see
how I would accomplish this?
You got mail. :)
I'm not sure this is too helpful since the relevant parts might be
difficult to find among the rest of the control's logic.
Andreas
_______________________________________________
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.