On Tue, Apr 2, 2013 at 8:31 AM, Staffan Tylen <[email protected]>wrote:
> Hi Mark, that's "sad" news. I was hoping to use the completed method to
> check the status of launched PS dialogs before closing the main dialog. Can
> this by any chance be changed to return a message object instead?
>
Staffan,
There is no message object involved here. You can't return something that
doesn't exist.
Again, this is a consequence of PropertySheet dialogs being managed by the
operating system, not by ooDialog or ooRexx.
Exactly what "status" do you want to check? I believe the getResult()
method of the PropertySheetDialog class may give you what you need,
depending on what is is you want to check. It returns the status of / from
the underlying Windows property sheet.
You can tell from the returned keyword if the dialog is not closed yet,
closed because the user canceled, closed because the user press ok, etc..
In any rate, whatever you want to check, is more likely to be available
from the Rexx PropertySheetDialog object than from a message object.
--
Mark Miesfeld
------------------------------------------------------------------------------
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