• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Silly question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Silly question
      • From: Lou <email@hidden>
    • Re: Silly question
      • From: "Erik M. Buck" <email@hidden>
    • Re: Silly question
      • From: Andreas Monitzer <email@hidden>
References: 
 >Re: Silly question (From: Ondra Cada <email@hidden>)

  • Prev by Date: NSSocketPortNameServer
  • Next by Date: Re: (OT) auto-indent a big hit here
  • Previous by thread: Re: Silly question
  • Next by thread: Re: Silly question
  • Index(es):
    • Date
    • Thread