- 12-02-2012, 11:50 AM
Thread Author #1
DateTimePicker
How do you get the selected value?
For the life of me, I can't find the getter method to retrieve the value.
https://developer.blackberry.com/cas...imepicker.html
I'm using QML with a javascript trigger to retrieve the value. At least, that was the plan. - 12-03-2012, 06:19 AM #2
You use standard JavaScript functions (JavaScript Date Object) such as getYear() or getHours() and you want it of the "value" so it would be called as "value.getYear()". So you can see in the cookbook example (https://github.com/blackberry/Cascad...TimePicker.qml) they are comparing the value year,month,day to a variable that gets today's year,month,day to determine which picture to display.
Check out my BB10 Cascades Coding Site: http://BBcascades.com/ Blog: http://bbcascadescode.tumblr.com/
My Apps: The Dive Plan (Built for BlackBerry Approved) | Visual Connection | Combo Pics | Beer Math | Random Stories | Logic Puzzles - 12-03-2012, 06:33 PM
Thread Author #3
Wow. I obviously missed those methods when looking at that code. Thank you.

Reply
















