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

BlackBerry® World™ Development

Reply
Regular Contributor
Posts: 51
Registered: ‎05-11-2010
My Device: 8900
My Carrier: Rogers

Event Listener for selection

Hello,

 

I am wondering if there is an event that you can set up a listerner for when the user makes a selection or when they copy/cut some text?

 

Thanks.

Developer
Posts: 76
Registered: ‎03-15-2010
My Device: 9800, 9630
My Carrier: Rogers

Re: Event Listener for selection

If you're talking about say a BasicEditField, maybe you could override the functions such as "selectionCopy", or "select". I haven't tried this myself, so I'm not sure if those functions are actually called when the user initiates the action, but it might be worth throwing a breakpoint in and checking it out?

Regular Contributor
Posts: 51
Registered: ‎05-11-2010
My Device: 8900
My Carrier: Rogers

Re: Event Listener for selection

Thanks for your reply.

 

I was more hoping on knowing when ANY copy/cut action took place on any field or application.  I don't think this exists, but was wondering.

New Member
Posts: 2
Registered: ‎04-13-2011
My Device: Model
My Carrier: Blackberry

Re: Event Listener for selection

Justdial Events in Allentown, PA - Find Theater Details, Local Show Timings. Call 1-800-500-0000 for Venue listings.