B4i Library [class] AnotherDatePicker

B4i implementation of AnotherDatePicker: http://www.b4x.com/android/forum/threads/27548/#content

SS-2014-11-06_16.26.52.png
 

Attachments

  • AnotherDatePicker.zip
    9 KB · Views: 341
Last edited:

Descartex

Well-Known Member
Licensed User
Longtime User
Sent on a PM.
 

Vern

Member
Licensed User
Longtime User
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?
 

Vern

Member
Licensed User
Longtime User
Are you running the example from the first post?

Can you post a screenshot?

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
 

Markos

Active Member
Licensed User
Longtime User
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.

Image-1.jpg
 
Top