[codenameone-discussions] Re: Problem with Date Picker Pervious & Next Month Days Selection
They are disabled because they're a part of the next month. You need to switch to the next month to select them. You can change their style by overriding the disabled style of Day. -- 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/2ac7d4a7-48fd-46c4-99b4-4706909575a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Problem with Date Picker Pervious & Next Month Days Selection
Yes. Now click/touch any date after the 30th. touching any date in current month, you can see it is selectes/highlighted. Touching any date like the 1st will not highlight and when clicking on Done does not change date. Regards. On Friday, June 28, 2019 at 11:57:59 PM UTC-4, Shai Almog wrote: > > Hi, > this worked for me. Did you click "Done"? > > Form hi = new Form("Test"); > Picker A3TimeSheetDate = new Picker(); > A3TimeSheetDate.setUseLightweightPopup(true); > A3TimeSheetDate.setDate(new Date()); > A3TimeSheetDate.setType(Display.PICKER_TYPE_CALENDAR); > hi.add(A3TimeSheetDate); > > > -- 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/82d123d1-90b9-4bd4-955e-350ea4bef960%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Problem with Date Picker Pervious & Next Month Days Selection
Hi, this worked for me. Did you click "Done"? Form hi = new Form("Test"); Picker A3TimeSheetDate = new Picker(); A3TimeSheetDate.setUseLightweightPopup(true); A3TimeSheetDate.setDate(new Date()); A3TimeSheetDate.setType(Display.PICKER_TYPE_CALENDAR); hi.add(A3TimeSheetDate); -- 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/0f24ed03-8c4f-4bc7-b16e-526063fe2c9d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.