Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cursor position

Former Member
0 Likes
697

hi every body,

I have a table control in the subscreen of tabstrip control. Now after inserting a new row in table control using the 'insert row' icon, the new row is getting inserted but the cursor was going back to main screen instead of staying in the table control. So any body please help me out on how to make the cursor remain in the table control itself.

thanks in advance,

regards,

mounika.

5 REPLIES 5
Read only

Former Member
0 Likes
646

Hi Mouni

In PBO (not in PAI) use SET CURSOR FIELD <tablecontrolname-field>.

I hope it'lll work. Do let me know if any issues.

Regards

Surya.

Read only

0 Likes
646

Hi surya,

thanx for ur reply, but i tried that one already (in both main screen and sub screen PBO's) and its not working. please let me know if you have any other alternative.

regards,

mounika.

Read only

0 Likes
646

in the pbo of the subscreen use this format of the set:

SET CURSOR FIELD F LINE <line number>.

Read only

Former Member
0 Likes
646

Hi,

At PBO you can set the cursor on a specific field of a specific row of a table control.

SET CURSOR FIELD f LINE lin [OFFSET off].

Using the optional addition OFFSET, you can enter the offset of the cursor in the field as described under Setting the Cursor Position .

At PAI you can read the current cursor position.

GET CURSOR FIELD f LINE lin ...

Regards

Sudheer

Read only

Former Member
0 Likes
646

Hi Mounika,

Please let me know how you have over come this issue...

I am facing the same issue...and i need to clear it urgently.

Please mail the sample code to veduru@gmail.com

Thanks,

Naren