Nov 6, 2014 Replies: 26 B4i implementation of AnotherDatePicker: http://www.b4x.com/android/forum/threads/27548/#content Attachments AnotherDatePicker.zip AnotherDatePicker.zip 9 KB · Views: 344 Last edited: Jan 18, 2015 Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Aug 28, 2016 #21 Please upload your project (File - Export as zip).
V Vern Member Licensed User Longtime User Feb 2, 2017 #23 I've tried this datepicker countless times and the calendar does not show correctly because "Public Sub Resize" never executes. Is there a way to force the resize?
I've tried this datepicker countless times and the calendar does not show correctly because "Public Sub Resize" never executes. Is there a way to force the resize?
Erel B4X founder Staff member Licensed User Longtime User Feb 2, 2017 #24 Are you running the example from the first post? Can you post a screenshot?
V Vern Member Licensed User Longtime User Feb 2, 2017 #25 Erel said: Are you running the example from the first post? Can you post a screenshot? Click to expand... The example in the first post works when you run it without modification. If, however, you incorporate it with code that has other layouts (especially with scrollviews), you get unpredictable results. The cause seems to be that the resize sub is not being executed with the required width and height. While testing you can temporarily get around the issue by forcing the resize (see below), however this is not a solution. Private Sub Page1_Resize(Width As Int, Height As Int) adp.Resize(320, 386) End Sub
Erel said: Are you running the example from the first post? Can you post a screenshot? Click to expand... The example in the first post works when you run it without modification. If, however, you incorporate it with code that has other layouts (especially with scrollviews), you get unpredictable results. The cause seems to be that the resize sub is not being executed with the required width and height. While testing you can temporarily get around the issue by forcing the resize (see below), however this is not a solution. Private Sub Page1_Resize(Width As Int, Height As Int) adp.Resize(320, 386) End Sub
Erel B4X founder Staff member Licensed User Longtime User Feb 3, 2017 #26 Please start a new thread in the questions forum and upload a small project that reproduces this issue.
Please start a new thread in the questions forum and upload a small project that reproduces this issue.
M Markos Well-Known Member Licensed User Longtime User Jul 20, 2020 #27 Hi All, Firstly thanks so much Erel for this Calendar class for b4i. I updated the colour scheme and other aesthetics and migrated the year picker to a list as was done for the month. If anyone wants or finds this look desirable or wants to enhance further I will post the project archive.
Hi All, Firstly thanks so much Erel for this Calendar class for b4i. I updated the colour scheme and other aesthetics and migrated the year picker to a list as was done for the month. If anyone wants or finds this look desirable or wants to enhance further I will post the project archive.