• 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
newbie interface problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

newbie interface problem


  • Subject: newbie interface problem
  • From: Bob Sabiston <email@hidden>
  • Date: Tue, 4 Oct 2005 18:07:36 -0500

Hello,

I am having some trouble with a bunch of interface controls. On my window, I have about 10 different text fields and buttons that I am trying to set from my code. Each field and button I have connected to an outlet in my class. I use something like the following to set them:

- (void)setDuration:(double)d {
    [duration setDoubleValue: d];
    NSLog(@"set Duration to %lf",d);
}

where 'duration' is the outlet name for a text field.

The problem is that only two of the controls are working. Two of the text fields show up properly. The other 8 text fields and all of the switch buttons do not show anything. According to the NSLog call, it is calling the functions with the proper values--I just don't see anything. I've checked the IB connections and they all look right. It is very weird since two of the text fields are working. I can't find any difference between the two that are working and those that aren't.

Anybody have any suggestions for what could be wrong?

Thanks
Bob


_______________________________________________ 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: newbie interface problem
      • From: Chris Hanson <email@hidden>
    • Re: newbie interface problem
      • From: Sherm Pendley <email@hidden>
    • Re: newbie interface problem
      • From: Cameron Hayne <email@hidden>
  • Prev by Date: Asynchronous use of NSPrinter, NSPrintInfo
  • Next by Date: Re: Debugging Stdout
  • Previous by thread: Asynchronous use of NSPrinter, NSPrintInfo
  • Next by thread: Re: newbie interface problem
  • Index(es):
    • Date
    • Thread