Re: NSAlertPanel.beginAlertSheet
Re: NSAlertPanel.beginAlertSheet
- Subject: Re: NSAlertPanel.beginAlertSheet
- From: "David P. Henderson" <email@hidden>
- Date: Sun, 15 Jul 2001 08:55:44 -0400
On Saturday, July 14, 2001, at 08:55 , Frangois Frisch wrote:
>
Anyone have any idea how you know which button the user pressed when the
>
sheet is dismissed?
>
I imagine it must be some callback method on the sheet9s delegate.
>
There is
>
no documentation....
>
In ObjC, the didEndSelector has 3 parameters: the window, the return
code, and the context info. The return code param contains the button
pressed by the user. I would think that the java version would be similar
Dave
--
Chaos Assembly Werks
"The proper office of a friend is to side with you when you are in the
wrong. Nearly anybody will side with you when you are in the right."
- Mark Twain