• 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: NSStepper not enabling or disabling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSStepper not enabling or disabling


  • Subject: Re: NSStepper not enabling or disabling
  • From: Ian was here <email@hidden>
  • Date: Fri, 14 Oct 2005 08:46:30 -0700 (PDT)

The strange issue here is that the NSStepper IBOutlet
is nil. In Interface Builder, it's connected to my
class instance, I checked the outlet name to verify
that is was the same in both IB and the class header
file. For some reason, it's always nil. If I enable
the stepper (in IB), it will send action messages to
the class, but it's outlet remains nil.



--- Mike Morton <email@hidden> wrote:

> Ian --
>
> > I have an NSStepper control on a window. I can
> enable
> > and disable it in Interface Builder, but when I go
> to
> > manually enable or disable it through code, it
> won't
> > work.
> >
> > The setEnabled: method is in the NSControl class,
> > which NSStepper inherits from.
> >
> > Has anyone else had issues with this?
>
> I haven't seen this with NSStepper, but saw it
> recently with an
> NSButton.
>
> Is it just a redraw problem? If you click on the
> apparently-disabled
> control, does it work? That was the situation with
> my bug.
>
>
> Also, as a complete guess, try:
> 	[.. setEnabled: YES];
> 	[.. setEnabled: NO];
> 	[.. setEnabled: whatever you really want];
>
> -- Mike
>
>





__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
 _______________________________________________
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

  • Prev by Date: Re: Scheduling an application function/event
  • Next by Date: Java splashscreen classes not instantiated??
  • Previous by thread: NSStepper not enabling or disabling
  • Next by thread: Localizing a Managed Object Model
  • Index(es):
    • Date
    • Thread