You set the options in the constructor and pass the DialogCloseListener to open().

On Sep 3, 2009, at 4:35 PM, Scott Lanham wrote:

There doesn't appear to be a way to set Alert options and also a
DialogCloseListener at the same time. I am creating an instance of Alert
rather than using the static alert methods so that I can set options.

On Thu, 3 Sep 2009 09:36:05 pm Greg Brown wrote:
No. But an Alert is modal over its owner, and you can pass it a
DialogCloseListener so you can be notified of when it is closed.

On Sep 2, 2009, at 10:56 PM, Scott Lanham wrote:
Hi,

Is it possible to get Alert to block while it is waiting for an
option to be
chosen?

Thanks,

Scott.


Reply via email to