Re: View change Buttons like in finder
Re: View change Buttons like in finder
- Subject: Re: View change Buttons like in finder
- From: Jeff Gilbert <email@hidden>
- Date: Thu, 24 Jun 2004 08:16:51 -0500
Hi Rahul,
On Thursday, June 24, 2004, at 04:04AM, Rahul Verma <email@hidden> wrote:
>
Does some one know how to create buttons like in finder for changing the
>
views? I like the Rounded edges of the corner buttons and the square edges
>
of the inner button. Is it a normal button behavior? I was not able to do
>
the same through IB, maybe I missed something or is it through programming
>
interface.
If you can target Panther then NSSegmentedControl is your friend. This is a new control introduced with Panther to do exactly what you want. You can read more about NSSegmentedControl at
http://developer.apple.com/documentation/Cocoa/Conceptual/SegmentedControl/
>
>
>
Also can I create a button set with more than 3 buttons like in iPhoto or
>
iMovie??
Yes.
>
>
Can some one lead me to an example?
>
The above link contains sample code.
enjoy,
Jeff Gilbert
_______________________________________________
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.