[codenameone-discussions] Re: setting the pressed state of a Tab at instanciation

2019-05-31 Thread Shai Almog
Try using the version of the select method that accepts false. It's 
possible that the animation that you don't even see is interfering with 
this.

-- 
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/9870c6e5-5f43-400d-9077-6e663f9bf4de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: How to make an app not enter into energy saving mode

2019-05-31 Thread Shai Almog
Hi,
I'm not sure about the icon but you can disable the screensaver through 
Display using: setScreenSaverEnabled.

-- 
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/354fd6c5-fbfd-4cd9-b37a-0db5ff870b4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] setting the pressed state of a Tab at instanciation

2019-05-31 Thread shop . service . assistant
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10 Pro
Simulator latest
Device PC, IOS, Android

I have a simple 2 element Tabs component and set the Tabs UIID to "mpiTabMetal" 
which has a foreground color for the unselected & selected states.

ManageTimeSheetsTab = new Tabs(Component.TOP);
ManageTimeSheetsTab.setTabUIID("mpiTabMetal");
ManageTimeSheetsTab.setSelectedIndex(0, true);

The problem is tab index 0 is by default set initially in the Tabs class.
However the unselected state is being displayed when in fact the index is 
selected.

If I setSelectedIndex(1), both index tabs display the correct states 
Any subsequent selections display correctly. Only the initial instantiation 
does the problem surface.

Attached Image TabsInitialStateIndex_0_isSet.PNG shows the 2 tabs as 
"unselected"
Attached Image TabsInitialStateIndex_1_isSet.PNG shows the 2 tabs as 
"unselected"

Attached Image UnselectedThemeUIID.PNG shows the Unselected state.
Attached Image SelectedThemeUIID.PNG shows the Selected state.

Thanks in advance

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.
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/d576bc7a-7835-47c9-bc1a-dc644566ccad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Uber Clone Database

2019-05-31 Thread rdvg1962
Ok, thanks

-- 
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/01585305-41b9-4431-b316-e704f4ac8086%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.