On Tue, Apr 2, 2013 at 11:47 AM, Staffan Tylen <staffan.ty...@gmail.com>wrote:
>
>> 3.) What I believe you should do is use the pressButton() method of the
>> PropertySheetDialog to press the Cancel button of the PropertySheetDialog
>> dialogs that are still open.
>>
>>
> Sound like a good idea. So the termination method in the base class could
> look something like this:
>
> loop sheet over allSheets~allItems
> if sheet~getResult = "NotFinished" then do
> if sheet~querySiblings("","") <> 0 then return 0
> sheet~pressButton("cancel")
> end
> end
> self~ok:super()
>
Yes that looks reasonable. Presumably the PropertySheetPage dialogs know
how to reply to a query with arg1 == "" and arg2 == ""
When the query gets sent to PropertySheetDialog that has a page that may
have opened another PropertySheetDialog, than that page knows how to close
the dialog it opened. Or maybe your allSheets already includes that dialog?
--
Mark Miesfeld
>
> Staffan
>
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users