Application Development and Automation 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: 
Read only

custom control scrol bars

Former Member
0 Likes
2,122

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

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
Read only

Former Member
0 Likes
1,450

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

Read only

0 Likes
1,450

I have custom control, not Table control.

Plz help me

Read only

0 Likes
1,450

sorry for wrong reply......

just increase the size of the custom control

i hope this will solve ur problem.

Read only

Former Member
0 Likes
1,450

Try giving height 200 & length 240

Read only

0 Likes
1,450

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

Read only

Former Member
0 Likes
1,450

thanks