> I'm not in favor of popupAsChild() in general. That is why it was not
> implemented in PropertySheetDialog to begin with. popupAsChild() is like
> stopping a car by shooting the driver and then blowing the car up. The car
> ends up stopped, but maybe a simple stop sign would be better.
>
> :)
You could not have expressed that better!
>
> But, I don't understand your endExecution() statement. endExecution is a
> method of a ControlDialog, not a PropertySheetDialog dialog. You should
> not be able to invoke endExecution on a PropertySheetDialog object or a
> PropertySheetPage object.
>
>
I don't know where I got that from in the first place, and I've never
double-checked :(
> 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()
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users