03-02-2009 6:55 AM
Hi,
I have created a text custom control in the module pool for long/big text display and written code using ABAP objects.
for some reason it is showing horizantal and vertical scroll bars. I want to remove them.
can someone help me how to remove them?
Thanks in adavance
Chitra
03-02-2009 7:32 AM
You can get rid of the vertical scroll bars by not setting TC-lines. This
way the user can only see the visible lines of the TC. As for the
horizontal scrollbar, just make sure that you TC doesn't contain to many
fields.
or u can consider this answer also
You could remove the scroll bar in the table control by switching off horizontal and vertical scrolling in the properties of the table control. The properties of the table control can be accessed from the screen painter by double clicking on the table control .
Regarding the pageup and page down functions, i believe you gotto add those buttons in the screen layout and code for them . You could use the standard function code for the page up and page down functions.
Goto transaction abapdocu and search for table control examples . You can find the suitable coding for page up and page down functionalities.
Edited by: Rajnesh Dharmat on Mar 2, 2009 1:03 PM
03-02-2009 9:42 AM
03-02-2009 10:00 AM
sorry for wrong reply......
just increase the size of the custom control
i hope this will solve ur problem.
03-02-2009 10:08 AM
03-02-2009 10:29 AM
Visibility is 4 lines only.. but with wordwrapping the scroll bars coming
I have used the class CL_GUI_TEXTEDIT.
my user dont want to see the horizantal and vertical scroll bars
plz help me
03-02-2009 12:59 PM