Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

DatePicker with other modes

I am currently using the QML component DatePicker.

It offers 4 modes: Time, Date, DateTime, Timer

I would like to offer some different modes, in particular date+time, month+year, year only.

Is there a workaround for that, or another component that could be used, or would i have to create it myself with a DropDown?

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: DatePicker with other modes

I'm in the same boat, where I really wanted a variant of Timer which didn't have seconds. Only option I could see for now, aside from attempting to recreate the whole thing (a big task, I expected) was to pick a subset of the possible values and do a simple DropDown. It's a bit lesser user experience in my case, but works adequately for now.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: DatePicker with other modes

sitting in the same boat ;-)


hopefully in releases soon after launch new controls (Date / Time Pickers, Pickers w customizable content,  Image Gallery, ...) will be provided for Cascades

ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner