well all day yesterday it was failing as described.   Today it seems to 
work fine...sigh

On Tuesday, September 20, 2016 at 7:48:21 AM UTC-7, howud...@gmail.com 
wrote:
>
> ok, this solution works for an error situation.  However I am seeing 
> similar weird behaviour when I do:
> Form1 visible, click on button to show Form 2
> Form2 during constructor calls toastbar and retrieves information from the 
> server
> Form2 click on "back" calls parent.showBack()
> Form1 is reloaded but with toastbar visible and blocking.
>
> Peter
>
> On Monday, August 29, 2016 at 9:34:40 PM UTC-7, Shai Almog wrote:
>>
>> When a Dialog is disposed it goes to the form that showed it. ToastBar is 
>> bound to a specific form so it won't work as expected either.
>>
>> The solution is to showBack() and use an addShowListener before that. 
>> Within the show listener show your toastbar or dialog. This will do the 
>> back transition first and then show the dialog/toast.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7a9434b7-23d4-43ba-a235-33cfa2d9b00c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to