‎2006 Nov 15 4:02 AM
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.
‎2006 Nov 15 5:04 AM
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.
‎2006 Nov 15 5:10 AM
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.
‎2006 Nov 15 5:26 AM
in the pbo of the subscreen use this format of the set:
SET CURSOR FIELD F LINE <line number>.
‎2006 Nov 15 5:38 AM
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
‎2007 Sep 19 7:33 PM
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