Application Development 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: 

Scroll button problem

Former Member
0 Kudos
140

Hi Experts,

I am facing one issue in Scroll button. I have created table control using wizard in module pool with the Scroll Button check Box selected. So I am able to get the Scroll button on the screen but the problem is when I have 200 entries on the screen at that time when I drag the Scroll button to the end it go down by 15 entries only so it take too much time to go down till the last entry.

Can any one tell me how to fix this bug......

Thanks in advance.

Edited by: MEABAP on Nov 11, 2011 9:16 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos
56

dear meabap

try this code (do necessary changes by your own and see the results)

MODULE IT_INSERT_CHANGE_TC_ATTR OUTPUT.

  • DESCRIBE TABLE IT_INS LINES IT_INSERT-LINES.

  • to activate scroll bar in table

DATA lv_LINES TYPE I.

DESCRIBE TABLE it_ins LINES lv_LINES.

IT_INSERT-LINES = lv_LINES + 0.

IT_INSERT-v_scroll = 'X'.

  • to activate scroll bar in table - end

ENDMODULE. "IT_INSERT_change_tc_attr OUTPUT

thank you.

1 REPLY 1

Former Member
0 Kudos
57

dear meabap

try this code (do necessary changes by your own and see the results)

MODULE IT_INSERT_CHANGE_TC_ATTR OUTPUT.

  • DESCRIBE TABLE IT_INS LINES IT_INSERT-LINES.

  • to activate scroll bar in table

DATA lv_LINES TYPE I.

DESCRIBE TABLE it_ins LINES lv_LINES.

IT_INSERT-LINES = lv_LINES + 0.

IT_INSERT-v_scroll = 'X'.

  • to activate scroll bar in table - end

ENDMODULE. "IT_INSERT_change_tc_attr OUTPUT

thank you.