‎2007 Jul 06 12:12 PM
Hi all,
There is a requirement in module pool with respect to a table control.
eg: There is a table control with 5 rows visible always.
so if an user presses ENTER the cursor has to move to the next row.
So by pressing ENTER it could go upto 5th row.
And after 5th row, when the user presses ENTER key, those 5 rows has to go up and the next 5 rows has to be shown. (new fresh five rows has to be shown)
What can be done on this. Please suggest.
Thanks in adv.
Will be rewarded.
‎2007 Jul 06 12:24 PM
hi ,
use <b>top_line</b> field in table control structure.
use <b>get cursor line</b> stmt to find the line no of table control in which cursor is positioned.And then
IF line = 5.
tc-top_line = tc-top_line + 5.
endif.
Reward points If helpfull.
Regards,
Vigneswaran S
‎2007 Jul 06 12:24 PM
hi ,
use <b>top_line</b> field in table control structure.
use <b>get cursor line</b> stmt to find the line no of table control in which cursor is positioned.And then
IF line = 5.
tc-top_line = tc-top_line + 5.
endif.
Reward points If helpfull.
Regards,
Vigneswaran S