[codenameone-discussions] Re: Change main form

2020-03-25 Thread TiMIBoY Muff
Nice! I set the in the override method TransitionOutanimator to 
setTransitionOutAnimator(CommonTransitions.createEmpty())

and now it looks good when i start the app.
Thank you very much.

-- 
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/d57c2509-24f9-44a5-b6d0-91d5446f9b5d%40googlegroups.com.


[codenameone-discussions] Re: Change main form

2020-03-24 Thread Shai Almog
You can override 
public Form showForm(String resourceName, Command sourceCommand) 

To do nothing if it shows the login page in that scenario. It's a bit of a 
hack but I'm afraid we don't have anything better for the old GUI builder 
anymore.

-- 
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/5c1672a5-2e84-46e9-976a-612cd4efa3a7%40googlegroups.com.


[codenameone-discussions] Re: Change main form

2020-03-24 Thread TiMIBoY Muff
Thank you very much! It worked! :)

But now when I start the app, you can see for a short time how the main 
form gets covered by the login form.

Is there maybe a way to change that? (without changing the 
TransitionOutanimator settings of the main 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/81546639-9b1b-40f9-94bf-c94e9033f8f2%40googlegroups.com.


[codenameone-discussions] Re: Change main form

2020-03-19 Thread Shai Almog
In the post show of that form navigate to the actual form you want to show 
based on the state of the application.

-- 
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/eae761e8-41ea-4489-a578-ed0d473ce6d6%40googlegroups.com.


[codenameone-discussions] Re: Change main form

2020-03-19 Thread TiMIBoY Muff
Thank you for your help! :)

I should have expressed myself more precisely.

I already set the main form with the button in the are of the properties.

But before the app starts, I want to decide which form should be displayed 
first,
depending on whether the user's login data is available or not.
I check whether the login data is available with existing or non-existent 
storage entries

-- 
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/5eb1c10f-b6dd-40fb-8c9f-a5858c015bed%40googlegroups.com.


[codenameone-discussions] Re: Change main form

2020-03-18 Thread Shai Almog
Hi,
I would suggest avoiding the old GUI builder.
In it you can select the form you want as the main form and in the area of 
the properties if I remember correctly there should be a button to set it 
as main,
You can also edit codenameone_settings.properties which includes the name 
of the main 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/b1f21bc4-f448-4810-8164-a3deb565e509%40googlegroups.com.