Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: programatically adding checkboxes to a sheet



Do you really want to literally insert extra checkboxes? Are you sure that you don't simply want a checkbox (or two) to be "invisible" most of the time, but then appear when the user requires it? If so, this second option is a lot easier to do.

Mike.

On 9 Feb 2006, at 11:51, Yvon Thoraval wrote:

Hey all,


new to cocoa, i'm using coco thru RubyCocoa

i've a prefs sheet
having, by default, three checkboxes (NSButton) a separator two Cancel and Save buttons at the bottom.


i'd like to programatically insert new checkboxes between the last default one and the separator.

i'd like having some advices on how to do that.

should i first group the default check boxes , could this facilitate inserting others ?

when i insert new NSButtons, is the sheet height following or does i have to do something to resize it ?

any help will be apreciated.

Yvon

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/mike.abdullah% 40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >programatically adding checkboxes to a sheet (From: Yvon Thoraval <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.