Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Cocoa toggle buttons

Cocoa toggle buttons
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2001
Status: Offline
Reply With Quote
Nov 23, 2001, 08:20 AM
 
I have a group of six buttons in a box and I have them set to the "On/Off" pressing pattern. How do I get these things to automatically change in relation to one another? I have looked at the Sketch example, and it has its toggle buttons inside a NSMatrix... but how do I get the buttons in my box to be in a NSMatrix?

Thanks,
iManCE3

[ 11-23-2001: Message edited by: iManCE3 ]
iMan
     
Forum Regular
Join Date: Aug 2001
Location: Vienna, Austria
Status: Offline
Reply With Quote
Nov 23, 2001, 10:12 AM
 
Being in a matrix doesn't change their relationship to each other, you still have to do the logic yourself, except when you're using radio buttons (you didn't tell us what you're trying to do).

For getting an NSMatrix: Drag the control into the view and resize it while pressing opt.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:15 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2