06-16-2009 05:41 PM
Is this a stupid question? I can't seem to find this anywhere!
Apparently there are depricated functions in the net.rim.device.api.ui.component.EditField: getSelectionStart() and getSelectionEnd()...
So: how can I get the start and end index of a selection in an edit field?
Any help is greatly appreciated!!
06-17-2009 12:16 PM
I was able to work around the problem using the functions you described, but isn't it a little silly to have to copy a selection to the system clipboard just to find the start and end positions of a selection within an edit field? It feels more like a workaround then a solution.
Why did Blackberry get rid of the getSelectionStart and End functions?
08-10-2010 12:55 AM - edited 08-10-2010 12:57 AM
In the AccessibleText Interface , You can find what u want?? Check this link it will give the Start offset and end offset of selection Text..