Re: Custom control
Re: Custom control
- Subject: Re: Custom control
- From: David Remahl <email@hidden>
- Date: Thu, 06 Jun 2002 17:44:33 +0200
I have a button matrix like this that I havent looked at for a year. Mail me
privately if you want a look..
/ David
>
Instead of creating a custom control you could try using an NSMatix with
>
three borderless buttons containing images of the three part of the
>
control and set up to behave as a radio button group. You could even
>
create a custom NSButtonCell subclasses that could change there appear
>
depending on whether Mac OS X's appears was Blue or Graphite.
>
>
On Thursday, June 6, 2002, at 11:00 PM, Thomas Davie wrote:
>
>
> Hi,
>
> I suspect that this question has been asked before, but I don't know
>
> where the archives are (a pointer to them would be useful). But
>
> anyway, you know the three way switch that the finder uses for
>
> switching between icon, list and column views? Well, I was wondering
>
> how I would go about creating one in cocoa. My first guess is to
>
> subclass NSControl and overload all of the handling routines, but this
>
> seems like a humungously long way around.
>
> Is it down to me doing a hard slog through creating my own drawing
>
> routines etc. or can I get it an easier way (using someone else's
>
> class, or by doing something more sensible than I suggest).
>
>
>
> Thanks
>
>
>
> Bob
_______________________________________________
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.