You can re-show the dialog with animation disabled after the on show event. 
You can store state in client properties to track whether a form has a 
currently showing dialog.

On Monday, January 11, 2021 at 8:53:01 PM UTC+2 P5music wrote:

> In my CodenameOne app it can happens that a InteractionDialog is displayed 
> and from there a form is called with text inside, arranged in three areas. 
> The dialog is a subclass of InteractionDialog in fact (CommandDialog), 
> that avoids showing a form for itself.
> When the second form is called from the CommandDialog it works but when 
> the showBack command is invoked the dialog disappears.
> I say "disappears" because when the form disposes itself the previous form 
> is displayed in its previous state, including the BrowserComponent content 
> and the CommandDialog, then the dialog disappears.
> So it seems that the disappearing could be avoided.
>
> I can open another InteractionDialog, but I would like to know what's 
> happening, and if there is the possibility to call a form and then coming 
> back to the CommandDialog.
> Thanks in advance
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f949eeac-ab14-481a-9945-7b17debf870an%40googlegroups.com.

Reply via email to