‎2007 Jan 08 10:09 AM
I want to get the cursor position in table control, can any one tell me how to get the cursor position .
Using that i have to hold the cursor.
Thanks in advance.
‎2007 Jan 08 10:11 AM
You need to get the cursor line by using the command:
GET CURSOR FIELD <field name> LINE <line>.
This gives you the line in the table control where the cursor is but you also need to consider if the user has scrolled the table control entries. The code below will give you the true cursor line for your table control.
GET CURSOR LINE <line>.
cursor_line = <table_control>-top_line + <line> - 1.
‎2007 Jan 08 10:22 AM
in CT04 transaction if we enter the number of characters the cursor is moving upto that character length only.
How to do that using cursor statement.
Thanks in advance.