I mean having containers side by side in one form (see the kitchen sink 
where we do just that). 
I don''t recommend having a form embedded in a form. Forms are very "heavy" 
and things sometimes fail when you add a form inside another form. 
Historically this was prohibited (we'd throw an exception in that case) but 
some use cases for embedding a form do exist. I'd still avoid it when 
possible.

On Saturday, September 12, 2020 at 12:31:31 PM UTC+3 P5music wrote:

> Thanks, do you mean having two forms side by side, that expands when in 
> portrait mode going full screen singularly, or you mean that I open another 
> form on top of the main form?
> I started creating an editing container that can be added to the main form 
> or to the editing form, so I remove all and then add again. Is this the 
> right way to do that?
>
> Il giorno sabato 12 settembre 2020 alle 07:04:13 UTC+2 Shai Almog ha 
> scritto:
>
>> In some cases you need two forms and in some cases two containers. 
>> The trick for doing this is to work with two containers and when 
>> necessary wrap them in a Form to enable the two page master detail.
>>
>> On Friday, September 11, 2020 at 3:41:56 PM UTC+3 P5music wrote:
>>
>>> My Codename app has master/detail layout.
>>> According to orientation the detail (editing) or the master can stay 
>>> full screen.
>>> I have to handle many orientation and editing status configurations, so 
>>> sometimes the editing screen will be displayed out of the master screen in 
>>> portrait orientation.
>>>
>>> The back navigation (button and other gestures) has to be managed in 
>>> both cases.
>>>
>>> I am not sure if I have to use a main form and two containers, or 
>>> instead two forms, that is, also an EditingForm with the EditingContainer 
>>> inside.
>>> 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/833849d9-bd00-41ab-af27-727676ef4281n%40googlegroups.com.

Reply via email to