Re: Silly question
Re: Silly question
- Subject: Re: Silly question
- From: Riccardo Santato <email@hidden>
- Date: Thu, 20 Dec 2001 19:41:45 +0100
On Thursday, December 20, 2001, at 03:09 PM, Ondra Cada wrote:
There were some services in AppKit to make an alert panel, display it,
but
(unlike NSRunAlertPanel) *not* wait till it is closed. Something in
lines of
NSCreateAlertPanel, or similar. I haven't used them for ages and can't
have a
look just now, so try AppKit functions, and perhaps NSApplication docs.
Probably my bad english has stroke back again.
Here's a little more detailed explanation of what I am doing...
- (void) mySelector:(id) argument
{
if (condition)
{
NSBeginAlertSheet(...); // I use it with no selectors in
the arguments, so just to display an "OK" button and
// I wait for the user to click it and then...
exit from selector; // HERE is the problem... Is there
a way to quit from selector without
// hurting anybody ?
}
}
What function have I to use in order to quit from my selector ?
I hope the explanation is a little clearer now... :-))
--
Riccardo Santato
www.riccardosantato.com