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

Native Development

Reply
Developer
paku
Posts: 21
Registered: ‎09-04-2010
My Device: Q10
My Carrier: T-Mobile
Accepted Solution

Cursor position in TextField component

Hi,

 

Is it possible to get information about cursor position in TextField component? There is cursorPosition property in QML TextField component, but I cannot find anything similar in Cascades.

 

BR,

 

Maciek

Please use plain text.
BlackBerry Development Advisor (Retired)
gperry
Posts: 138
Registered: ‎05-11-2012
My Device: Developer
My Carrier: Developer

Re: Cursor position in TextField component

It looks as though the feature you are looking for does not exist in the current release.

 

Please request a feature in Issue Tracker: http://supportforums.blackberry.com/t5/Java-Development/Developer-Issue-Tracker/td-p/271768

Please use plain text.
BlackBerry Development Advisor
sabdelsayed
Posts: 249
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10
My Carrier: Bell

Re: Cursor position in TextField component

[ Edited ]

Hi paku,

 

Now, you can get the cursor position using the TextEditor associated with TextArea.

here are the links to the API's

https://developer.blackberry.com/cascades/reference/bb__cascades__textarea.html

https://developer.blackberry.com/cascades/reference/bb__cascades__texteditor.html

@SamarAbdelsayed

Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.