Sheets
Sheets
- Subject: Sheets
- From: Matt Jaffa <email@hidden>
- Date: Thu, 26 Feb 2004 15:01:56 -0700
Hey,
I have been messing around with the online documentation regarding how
to open sheets, etc. And also been searching the archives. But couldn't
find anything that would help, except for functions that display the
sheets, but I have had strange behavior.
I have this:
#import <Cocoa/Cocoa.h>
#import <PreferencePanes/NSPreferencePane.h>
@interface FMPreferencePane : NSPreferencePane
{
IBOutlet id AddTextView;
IBOutlet id BlockTectView;
IBOutlet NSTextField *LicenseTextView;
IBOutlet NSPanel *PopUpAdd; <--------- I want this to be
the sheet to be displayed within the main preference pane, but I can't
get it to display right, the sheet bcomes attached to the Desktop for
some real weird reason.
IBOutlet NSPanel *PopUpBlock;
IBOutlet NSPanel *PopUpLicense;
NSOpenPanel *OpenPanel;
}
- (IBAction)AddAccept:(id)sender; <------------- When this
button is clicked it will display the PopUpAdd NSPanel as a sheet for
the main Preference Pane that i made as an add-on to the System
Preference Panes
- (IBAction)AddBlock:(id)sender;
- (IBAction)Buy:(id)sender;
- (IBAction)EnterLicenseKey:(id)sender;
- (IBAction)Start:(id)sender;
- (IBAction)SubmitLicense:(id)sender;
@end
Thanks,
Matt
_______________________________________________
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.