on 09-30-2008 10:28 AM
Hi
I would like to know how can i determine the current position of the cursor in general.
I would also like to know the current position of the cursor in textedit element.
Regards
Piyush
There is no functionality in Web Dynpro to give you the cursor position within the TextEdit UI element.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually I was refering to the Explanation property not the UI element. This is a description that appears when a UI element gets the focus for a few seconds. It is designed to allow for the kind of onFocus help text that you said you wanted.
http://help.sap.com/saphelp_nw70/helpdata/EN/45/11e345459d7201e10000000a155369/frameset.htm
I checked the property, but it does not fulfill my requirement.
What i want is:
There is a view with several textedit/input elements, say A,B,C....n
There is a Helper Function Button, But.
Now when the user clicks on the button, i need to add a text, 'HELLO' in the element where the cursor is currently positioned.
So in other words, the focused element will be appended by text 'HELLO'...
So if i can find out the focused element, then i can append the text.
Now my question is how do i find out the focused element in the view.
Regards
Piyush
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.