Yep. In case some sample code would help, I just had to write code to do this today, so for reference: http://svn.apache.org/repos/asf/incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java(look at the perform() method for the "removeRow" action -- it uses a Prompt, which is the sister component to Alert).
-T On Thu, Sep 3, 2009 at 4:38 PM, Greg Brown <[email protected]> wrote: > 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. >>>> >>> >> >
