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: 

custom control scrol bars

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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

0 Kudos

I have custom control, not Table control.

Plz help me

0 Kudos

sorry for wrong reply......

just increase the size of the custom control

i hope this will solve ur problem.

Former Member
0 Kudos

Try giving height 200 & length 240

0 Kudos

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

Former Member
0 Kudos

thanks