[codenameone-discussions] Re: Display another dialog when closing one

2016-05-25 Thread Shai Almog
Don't open a dialog from a thread that isn't the EDT.
If you show the next dialog before disposing the previous dialog then the 
previous form for the next dialog is the first dialog... So when you 
dispose the next dialog it "goes back" to the previous form...

-- 
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/c9b49eb3-c5ce-4a4e-a8a7-e21f1a8793e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Display another dialog when closing one

2016-05-25 Thread Gareth Murfin
Going crazy here, for some reason any time I try to show a new dialog the 
old one opens, even when I put it on a different screen and thread etc, 
whats happening to cause this, its weird cause its never happened before.

On Wednesday, May 25, 2016 at 7:52:28 PM UTC+8, Gareth Murfin wrote:
>
> I have a dialog with an OK button, when I hit that I dispose of the 
> dialog, and show the next dialog. Strangely the same dialog comes up, I 
> have tried uitimers etc and everything I can think of but I cannot get 
> around this. How do I make the correct dialog come up ?
>

-- 
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/b118da86-9688-4019-a590-29aefed75377%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.