Re: NSArrayController in Interface Builder
Re: NSArrayController in Interface Builder
- Subject: Re: NSArrayController in Interface Builder
- From: August Trometer <email@hidden>
- Date: Thu, 17 Aug 2006 13:29:51 -0400
You might want to look into NSMatrix for this -- then you can use the
buttons with NSTabView's takeSelectedTabViewItemFromSender:
-- August
On Aug 17, 2006, at 12:46 PM, Jeff Heyob wrote:
Hi,
I'm trying to mimic the preference window behavior in Apple's Mail
application.
I've setup six NSButtons in a window and setup the bindings to an
NSArrayController so that the six buttons behave similar to the
NSSegmentedControl. The use of NSButton will enable me to use icons
for the buttons.
I am having trouble binding the NSArrayControl to a NSTabView so
that the button selections select different tab views. Many binding
attempts have driven IB into a non-responsive loop which required a
force-quit.
I have been able to use NSSegmentedControl using binding to control
NSTabView, but NSSegmentedControl does not seem to support a
vertical size setting for using icons taller than the regular button
height.
Does anyone know how to bind NSArrayControl to six buttons as I have
described and also bind to a NSTabView?
Or, is there a way to increase the height on NSSegmentedControl to
accommodate a 48x48 pixel icon?
Thanks,
Jeff
_______________________________________________
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