You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by serkan <se...@likyateknoloji.com> on 2020/06/26 15:30:44 UTC

Alert close after button click

Hi,

How can I make Alert window to close after clicking a button ? Flex 
behavior changed in royale and not closing for the usage below.

Alert.show("Suspend ?", "Warning", Alert.OK|Alert.CANCEL, this, 
suspendApp, null, Alert.CANCEL);

Thanks,
Serkan

Re: Alert close after button click

Posted by serkan <se...@likyateknoloji.com>.
Created and issue : https://github.com/apache/royale-asjs/issues/884

27.06.2020 10:33 tarihinde serkan yazdı:
> Strange, when click on cancel it does not close either and no 
> exceptions at all. Needs second click on my app to close.
>
> But it is working for test case.
>
> Need some more investigation.
>
> Thanks,
> Serkan
>
> 27.06.2020 08:27 tarihinde Alex Harui yazdı:
>>
>> Works for me.  No exceptions?  Does suspendApp get called?  Which 
>> browser and OS are you using?
>>
>> -Alex
>>
>> *From: *serkan <se...@likyateknoloji.com>
>> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Date: *Friday, June 26, 2020 at 8:31 AM
>> *To: *"users@royale.apache.org" <us...@royale.apache.org>
>> *Subject: *Alert close after button click
>>
>> Hi,
>>
>> How can I make Alert window to close after clicking a button ? Flex 
>> behavior changed in royale and not closing for the usage below.
>>
>> Alert.show("Suspend ?", "Warning", Alert.OK|Alert.CANCEL, this, 
>> suspendApp, null, Alert.CANCEL);
>>
>> Thanks,
>> Serkan
>>
>


Re: Alert close after button click

Posted by serkan <se...@likyateknoloji.com>.
Strange, when click on cancel it does not close either and no exceptions 
at all. Needs second click on my app to close.

But it is working for test case.

Need some more investigation.

Thanks,
Serkan

27.06.2020 08:27 tarihinde Alex Harui yazdı:
>
> Works for me.  No exceptions?  Does suspendApp get called?  Which 
> browser and OS are you using?
>
> -Alex
>
> *From: *serkan <se...@likyateknoloji.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Friday, June 26, 2020 at 8:31 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Alert close after button click
>
> Hi,
>
> How can I make Alert window to close after clicking a button ? Flex 
> behavior changed in royale and not closing for the usage below.
>
> Alert.show("Suspend ?", "Warning", Alert.OK|Alert.CANCEL, this, 
> suspendApp, null, Alert.CANCEL);
>
> Thanks,
> Serkan
>


Re: Alert close after button click

Posted by Alex Harui <ah...@adobe.com>.
Works for me.  No exceptions?  Does suspendApp get called?  Which browser and OS are you using?

-Alex

From: serkan <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, June 26, 2020 at 8:31 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Alert close after button click

Hi,

How can I make Alert window to close after clicking a button ? Flex behavior changed in royale and not closing for the usage below.

Alert.show("Suspend ?", "Warning", Alert.OK|Alert.CANCEL, this, suspendApp, null, Alert.CANCEL);

Thanks,
Serkan