Trouble with preference pane
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.