B4A Library [free lib]DatePicker&TimePicker[b4a2.7]

just use this when your b4a version is >2.7 beta1
:sign0060:
b4aCVDateTimePicker
Author: IceFairy333
Version: 1
  • DatePicker
    Methods:
    • DesignerCreateView (base As PanelWrapper, lbl As LabelWrapper, props As Map)
    Properties:
    • DateTicks As Long [read only]
    • DayOfMonth As Int [read only]
    • Month As Int [read only]
    • Year As Int [read only]
  • TimePicker
    Methods:
    • DesignerCreateView (base As PanelWrapper, lbl As LabelWrapper, props As Map)
    Properties:
    • Hour As Int [read only]
    • Minute As Int [read only]
    • TimeTicks As Long [read only]

you can use them in the designer either;(add a custom view,then choose the type like DatePicker or TimePicker)
 

Attachments

  • cvdtp.zip
    3.8 KB · Views: 647
Last edited:

RichyK68

Active Member
Licensed User
Longtime User
How do I actually set this control's value to a specific time (for displaying in Settings to allow the user to adjust the time, if needed) ?
There are only three properties and they are all read-only :(
 

rleiman

Well-Known Member
Licensed User
Longtime User
Hi,

Can you post some example code using this control?

Thanks.
 

cooperlegend

Active Member
Licensed User
Longtime User
how does this work?

No example, no explanation....

I tried adding a custom view, but not options where shown for date or time picker ?!??
 
Top