FROM : Jean-Olivier Lanctôt-D.
DATE : Thu Jan 09 23:59:27 2003
Connect the input fields or whatever to your Controller via Interface
Builder and do something like
- (IBAction)closeThisSillySheetAction {
/* You just read the sheet's values before closing it...*/
NSString *aSillyValue = [sillyInput stringValue];
/* That will close the sheet. */
[sheet orderOut:self];
[NSApp endSheet:sheet];
}
On Thursday, January 9, 2003, at 12:32 PM, Andy Satori wrote:
> I want a sheet to pop down, and on completion, I want to read those
> values
> back out from the sheet before disposing of it. What is the correct
> way to
> do this? I am trying to use a SheetDidEnd() function, but when I do
> that,
> the sheet never goes away.
>
> Dru
> _______________________________________________
> cocoa-dev mailing list | <email_removed>
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
>
>
>
-- Jean-Olivier
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Thu Jan 09 23:59:27 2003
Connect the input fields or whatever to your Controller via Interface
Builder and do something like
- (IBAction)closeThisSillySheetAction {
/* You just read the sheet's values before closing it...*/
NSString *aSillyValue = [sillyInput stringValue];
/* That will close the sheet. */
[sheet orderOut:self];
[NSApp endSheet:sheet];
}
On Thursday, January 9, 2003, at 12:32 PM, Andy Satori wrote:
> I want a sheet to pop down, and on completion, I want to read those
> values
> back out from the sheet before disposing of it. What is the correct
> way to
> do this? I am trying to use a SheetDidEnd() function, but when I do
> that,
> the sheet never goes away.
>
> Dru
> _______________________________________________
> cocoa-dev mailing list | <email_removed>
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
>
>
>
-- Jean-Olivier
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Andy Satori | Jan 9, 18:32 | |
| Jean-Olivier Lanct… | Jan 9, 23:59 |






Cocoa mail archive

