Welcome!

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

Java Development

Reply
Contributor
Posts: 49
Registered: ‎05-02-2012
My Device: Bold 9790
My Carrier: Wind Mobile
Accepted Solution

On Date Select Function?

Hi there,

 

I've been searching for a while now, and I haven't found anything. I have a DateField and I want to call a function when the user changes the date in that field (I want to update some content in an ObjectChoiceField). Is there any good way to do this?

 

Thanks,

Ben

Developer
Posts: 17,012
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: On Date Select Function?

you can add a fieldchangelistener to the field.
----------------------------------------------------------
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
Highlighted
Contributor
Posts: 49
Registered: ‎05-02-2012
My Device: Bold 9790
My Carrier: Wind Mobile

Re: On Date Select Function?

That's what I did, and it's working well!