• 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
Trouble with preference pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble with preference pane


  • Subject: Trouble with preference pane
  • From: Manuel Darveau <email@hidden>
  • Date: Sun, 17 Mar 2002 22:20:01 -0500

Hi!

I am creating a preference pane and want to feed my NSPopUpButton with info
from the system.

If I try the following, my PopUp are not updated with my data:
- (void) mainViewDidLoad
{
[super mainViewDidLoad];
[internalIface removeAllItems];
[internalIface addItemsWithTitles:[self getInterfaceIPList]];
}

But if I add a button and link it with:
- (IBAction)doDebug:(id)sender{
[self mainViewDidLoad];
}

This work! My PopUp are updated... I tried also with the - (void)willSelect
function but it doesn't either...

Any idea?


Manuel Darveau
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: NSTextView with transparent text?
  • Next by Date: Re: Making application a daemon
  • Previous by thread: Re: NSTextView with transparent text?
  • Next by thread: Re: Trouble with preference pane
  • Index(es):
    • Date
    • Thread