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: 

Remove Vertical scroll

Former Member
0 Kudos
898

Hi All,

I have a table control with a fixed number of rows, and I need to remove vertical horizontal scroll bars. We are using ECC 6.00. I was able to remove horizontal scroll using table control. I am unable to remove vertical scroll. I even tried to use

“DESCRIBE TABLE t_data LINES tc_test-lines.”

in PBO but still I am getting the vertical scroll. But once I scroll down, button disappears after first scroll. Since I got fixed rows I don’t want scroll options at all. I tried all option in table control still I am unable to remove scroll option.

thanks in advance.

Regards,

Trim

1 ACCEPTED SOLUTION

former_member491305
Active Contributor
0 Kudos
376

Hi,

Try setting tc-lines = 0.This will work.You dont have to set it equal to no. of records in internal table.

If it still not working,try to do the following.

You just un-check/Un-mark the "Vertical" parameter in table control attributes in screen painter.To do this just double click on right side top of the table control ,then you can see the table control properties in right side of your screen painter.This will also remove the vertical scroll bar from your table control.

Message was edited by:

Vigneswaran S

9 REPLIES 9

former_member196299
Active Contributor
0 Kudos
376

Hi Trim ,

I was looking into your problem , and it drawn to a confusion , whether you want to remove the pushbutton for vertical scrolling or you want to make the vertical scroll disappear which is present in your table control ..

Can you give me some idea about it , that I can try on this issue ..

Else , Can you post your code ?

Regards,

Ranjita

0 Kudos
376

Hi Ranjit,

I want to remove vertical scroll, because i got only 10 rows max to display at any time which i display straight away. I did try DESCRIBE TABLE itab LINES <Tabl_Contr>-LINES.

Thanks for reply.

Regards,

Trim

jayanthi_jayaraman
Active Contributor
0 Kudos
376

Hi,

Did you tried giving the lines as like this, suppose if 5 lines are fixed

trcl-lines = 5.

0 Kudos
376

YES i did try trcl-lines = 10 ... Still i get vertical scroll

former_member196299
Active Contributor
0 Kudos
376

Hey Trim ,

You mentioned that you have 10 rows in your TC, now please resize your table control area in screen painter so that the values will fit into the visibility area of your table control . If the resizing is done properly then there will not be any scroll bars at all visible in your screen ..

I suggest you to try in this way and check what happens ...

Regards,

Ranjita

0 Kudos
376

Hi Ranjita,

No change, I tried increasing both column and row size still the same. May be I have to do some thing in PBO.

Regards,

Trim

0 Kudos
376

If you want 10 rows in your table control, then use the statement

<tabctrl>-lines = 10.

now in order to completely disable the vertical scroll also. Just adjust the size of the table control on the layout so that it perfectly fits the screen, then you will not be having any scrolls (vertical or horizontal)

Regards

Gopi

0 Kudos
376

do you got your question answered?

former_member491305
Active Contributor
0 Kudos
377

Hi,

Try setting tc-lines = 0.This will work.You dont have to set it equal to no. of records in internal table.

If it still not working,try to do the following.

You just un-check/Un-mark the "Vertical" parameter in table control attributes in screen painter.To do this just double click on right side top of the table control ,then you can see the table control properties in right side of your screen painter.This will also remove the vertical scroll bar from your table control.

Message was edited by:

Vigneswaran S