‎2005 Nov 29 10:19 AM
Hi,
I have a table control with a fixed number of rows, and I need to remove vertical and horizontal scroll bars. For horizontal scroll bars it's easy because a way of doing this is setting all the columns fixed (and obviously leaving enough space in table control in order to all columns can be viewed).
But how can I remove vertical scroll bars?
thanks in advance
‎2005 Nov 29 10:23 AM
Hi
I think it is not possible..
Try using check boxes for horizontal and vertical scroll bars in the table control properties.
Regards,
Abdul
Message was edited by: Abdul Hakim
‎2005 Nov 29 10:23 AM
Hi Click on the table control in screen
you can see change the Horizontal scrolling and vertical scrolling options .
those are check boxes. you can select them.
try that
regards
vijay
‎2005 Nov 29 10:25 AM
Sorry but I can't see these options,
Is there any way to quit the scroll bar from source code not table control options?
‎2005 Nov 29 10:27 AM
Hi
Go to the graphical screen painter and double click your table control there you can see those options.
‎2005 Nov 29 10:29 AM
‎2005 Nov 29 10:23 AM
Hi
I think it is not possible..
Try using check boxes for horizontal and vertical scroll bars in the table control properties.
Regards,
Abdul
Message was edited by: Abdul Hakim
‎2005 Nov 29 10:34 AM
Hi,
Yes,
Click on the control in screen painter.
and you can change scroll bar options available in check boxes. you can checked them.
try it
‎2005 Nov 29 10:45 AM
Sorry but I don't have these options in my sap, it's a 4.7 version, but I think that it's a quite special implantation.
Any other way of remove the scroll bars, for example modifying it from the source code (at PBO for example)
thanks again for all the answers
‎2005 Nov 29 11:01 AM
Hi,
Say TC_TEST is your table control name and t_data is your internal table that is used for displaying in the table control then in your PBO MODULE, you should use the following statement,
DESCRIBE TABLE t_data LINES tc_test-lines.
What this will do, this will tell the system how many rows the table control is going to display and if the current display of table control is able to display all the rows at once then you will not get the scroll bar.
Hope this helps..
Sri
‎2005 Nov 29 10:56 AM
Hi,
double click on table control. then it will show the properties of table control.
in that properties, it contain Separators, in this 2 check boxes. one for Vertical and another for Horizantal.
click if you want to display separators in the screen.
then active the screen.
i hope it will clear.
‎2005 Nov 29 11:44 AM
‎2005 Nov 29 11:48 AM
Go to the table control and from the table control properties, deselect the Vertical & Horizontal check boxes by which the corresponding bars gets eliminated from the table.