2007 Jul 16 4:51 AM
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 dont 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
2007 Jul 16 9:24 AM
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
2007 Jul 16 6:07 AM
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
2007 Jul 16 6:16 AM
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
2007 Jul 16 6:10 AM
Hi,
Did you tried giving the lines as like this, suppose if 5 lines are fixed
trcl-lines = 5.
2007 Jul 16 6:17 AM
YES i did try trcl-lines = 10 ... Still i get vertical scroll
2007 Jul 16 6:33 AM
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
2007 Jul 16 8:28 AM
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
2007 Jul 16 8:32 AM
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
2007 Jul 18 2:36 PM
2007 Jul 16 9:24 AM
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