Re: initialize the Frame?
Re: initialize the Frame?
- Subject: Re: initialize the Frame?
- From: Scott Anguish <email@hidden>
- Date: Thu, 21 Nov 2002 20:57:28 -0500
On Thursday, November 21, 2002, at 05:00 PM, David Wu wrote:
Well.. it appears from this that your custom view has no size set..
it may very well be in the print panel, but you just can't see it.
initWithFrame: is the designated initializer for NSView...
normally an accessory view is loaded from a nib, so it has controls
and such in it.
customePrintView = [[NSView alloc] init];
[printOp setAccessoryView:customePrintView];
[printOp setShowPanels:YES];
[printOp runOperation];
what's the proper syntax for the setting up absolute size for a view??
That would be [[NSView alloc] initWithFrame:someRect]
_______________________________________________
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.