• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Programatically adding small checkboxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programatically adding small checkboxes


  • Subject: Re: Programatically adding small checkboxes
  • From: Andy Lee <email@hidden>
  • Date: Tue, 3 May 2005 00:07:57 -0400

On May 2, 2005, at 11:16 PM, Ken Tozier wrote:
    [checkCell setButtonType: NSSwitchButton];
    [checkCell setState: NSOnState];
    [checkButton setCell: checkCell];
    [self addSubview: checkButton];

Perhaps try doing the -setCell: before doing the -setButtonType: etc.?

--Andy

_______________________________________________
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


References: 
 >Programatically adding small checkboxes (From: Ken Tozier <email@hidden>)
 >Re: Programatically adding small checkboxes (From: Todd Yandell <email@hidden>)
 >Re: Programatically adding small checkboxes (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: splitter subviews resize
  • Next by Date: Swapping subview of NSSplitView
  • Previous by thread: Re: Programatically adding small checkboxes
  • Next by thread: Detecting the Option key on selecting a menuitem
  • Index(es):
    • Date
    • Thread