• 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: Pull-down NSPopUpButton with checked item?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pull-down NSPopUpButton with checked item?


  • Subject: Re: Pull-down NSPopUpButton with checked item?
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 03 Aug 2006 11:09:39 -0700
  • Thread-topic: Pull-down NSPopUpButton with checked item?

On Wed, 2 Aug 2006 22:12:59 -0500, Glen Simmons <email@hidden>
said:
>Odd problem: I have several NSPopUpButtons in my app that are all set
>up the same - type Pulldown, style Square. For some reason, two of
>them show one of their menu items checked when the app runs. I didn't
>think NSPopUpButtons showed an item as checked if they were set to
>pulldown. I don't want any of the items checked. Interface Builder
>won't let me set the state of these menu items. How do I fix this
>(other than writing code just to turn this off)?

Glen - I'm pretty sure the behavior you describe is not normal, so I would
look for code that might be doing this (e.g. something you do in
validateMenuItem or similar target-related methods). Look for setState:
calls in particular. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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

  • Follow-Ups:
    • Re: Pull-down NSPopUpButton with checked item?
      • From: Glen Simmons <email@hidden>
  • Prev by Date: Re: looks like Intel vs. PowerPC difference
  • Next by Date: Re: looks like Intel vs. PowerPC difference
  • Previous by thread: Pull-down NSPopUpButton with checked item?
  • Next by thread: Re: Pull-down NSPopUpButton with checked item?
  • Index(es):
    • Date
    • Thread