[codenameone-discussions] Re: How to dispose a Form when spawned by dialog

2020-01-19 Thread Mark Bolduc
Thanks.

I am comfortable witha modal Dialog being more than a confirmation 
mechinism.

For now, I will stay away from the interactive dialog for the very reasons 
stated in the  document you provided.

Thanks for the referance.

Regards.

On Saturday, January 18, 2020 at 12:46:06 AM UTC-5, Shai Almog wrote:
>
> See https://www.codenameone.com/blog/picking-dialog-type.html
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/842fe5d0-aa90-42ad-9617-cb5b27aaa76f%40googlegroups.com.


[codenameone-discussions] Re: How to dispose a Form when spawned by dialog

2020-01-17 Thread Shai Almog
See https://www.codenameone.com/blog/picking-dialog-type.html

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0299bb31-e856-41df-9daa-2916134f035c%40googlegroups.com.


[codenameone-discussions] Re: How to dispose a Form when spawned by dialog

2020-01-17 Thread Mark Bolduc
Thanks, Dialogs work great for my application as (for example) editing 
inventory in a form can spawn multiple dialogs.
This works especially well as when the Dialog is disposed, I am returned to 
the Form w/o having the overhead of reloading that form.

briefly, what is the the programaticall concern of using a Dialog for more 
than just a confirmation mechinism?

Thanks in advance.

Regards.

On Tuesday, January 14, 2020 at 5:23:43 PM UTC-5, Mark Bolduc wrote:
>
> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA Netbeans 11
> Desktop OS Windows 10 Pro
> Simulator Latest
> Device ALl
>
> I have a case where I spawn a Form from a dialog (list of stuff)
> When the Form finishes creating an appointment, I want to be returned to 
> the Dialog.
>
> Thoughts?
>
> Regards.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7461dc7c-f72f-4c3d-9ed6-8e557be5a873%40googlegroups.com.


[codenameone-discussions] Re: How to dispose a Form when spawned by dialog

2020-01-14 Thread Shai Almog
You'll need to show a new dialog instance on this new form. Forms aren't 
disposable.
Generally I'd advise re-thinking the UX here. Dialogs are meant to be small 
interactions for OK/Cancel sort of stuff. If you have more functionality 
there you should probably put it in a 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/195b5bfb-57a7-4884-8bd5-cad2845228a8%40googlegroups.com.