Re: Left Fixed Header in a Scrolling View
Re: Left Fixed Header in a Scrolling View
- Subject: Re: Left Fixed Header in a Scrolling View
- From: Clark Cox <email@hidden>
- Date: Wed, 20 Oct 2004 12:49:03 -0400
On Wed, 20 Oct 2004 16:37:30 +0200, Lorenzo <email@hidden> wrote:
>
Hi here,
>
I would like to create a scrolling view like the iMovie "time/clips"
>
editor". Since in iMovie the channels are 3 and fixed (1 for clips + 2
>
songs) the check-boxes activating the sound of the channels are out of the
>
scrolling view. It works.
>
Instead in my application, since the number of channels (row) is variable, I
>
need to include the check-boxes within the scrolling view, in a fixed "left
>
header". This "left header" has not to scroll horizontally. It has to scroll
>
vertically only. And more, the horizontal ruler should appear only on the
>
mobile part of the view.
>
>
Which approach do you suggest?
>
Should I create two scrolling views and join them by the vertical scrolling
>
value?
You could probably create your own custom NSRulerView subclass to add
to the NSScrollView. In the vertical ruler, you would put your
checkboxes, and in the horizontal ruler, you would draw your normal
ruler.
--
Clark S. Cox III
email@hidden
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/
_______________________________________________
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