> on 04/01/2001 3:53 PM, lou at louisr at gte dot net wrote:
>
>> if mywindow.visible = true then
>> Beep
>> End if
>
> Try just
>
> if mywindow.visible then
> Beep
> End if
Sorry. I fired that one off too quickly.
Any direct reference to "mywindow" will force it to open and, if its
visibility is set to true, then you will hear the beep. If on the other hand
you want to test for it being open then you need to do it indirectly; one
way would be to keep a global boolean value around and set it to true when
"mywindow" opens.
Best regards,
John Roberts
mailto:jarobe01 at athena dot louisville dot edu
|