1. TheStoof's Avatar
    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-02-12 11:50 AM
  2. Brian Scheirer's Avatar
    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.
    supnez likes this.
    12-03-12 06:19 AM
  3. TheStoof's Avatar
    Wow. I obviously missed those methods when looking at that code. Thank you.
    12-03-12 06:33 PM
LINK TO POST COPIED TO CLIPBOARD