On Thu, Sep 27, 2012 at 10:32 AM, Mark Miesfeld <miesf...@gmail.com> wrote:
> On Thu, Sep 27, 2012 at 9:51 AM, Mark Miesfeld <miesf...@gmail.com> wrote:
>
>> On Thu, Sep 27, 2012 at 8:31 AM, Staffan Tylen
>> <staffan.ty...@gmail.com>wrote:
>>
>>
>>> I can't find the Finished attribute mentioned in any of the two 4.2.0
>>> ooDialog documents, is it just that I can't read properly? It appears in
>>> plenty of sample code.
>>>
>>
>> The finished attribute is for internal use only. It should never have
>> been documented in the first place, and should never have been put in any
>> example code.
>>
>>
> The finished attribute should never be changed by the programmer.
> However, checking its value is sometimes useful in multi-threaded programs
> to know if the on-screen dialog has been closed.
>
> I didn't realize that it was still being used in some of the example
> programs. I thought I had cleaned all that up.
>
Staffan,
There is a method provided to check if the underlying Windows dialog is
still active. It is: isDialogActive() This returns true if the
underlying dialog exists and false if it doesn't.
I looked through the example code and in all cases where finished was being
used, the isDialogActive() method should have been used instead.
--
Mark Miesfeld
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users