cancel
Showing results for 
Search instead for 
Did you mean: 

Scrollbar for a Text Box

Former Member
0 Kudos

Hello All,

I have a text box and I have very less space to drag it. So, with the space available, I can see only 25 characters in the text box. But, the value in the text box would always be greater than 100 characters.

So, I thought of having a scrollbar for this text box. Theres is a property called "SCROLLBAR" for this textbox. But even when I set this property, I am not able to see the scrollbar.

Can anybody please help me to get the scrollbar for the text box.

Regards

Kalyan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

no..its just a normal text box..

I am not using any controls

former_member188685
Active Contributor
0 Kudos

Hi Priya,

Run this FM <b>TRM_COMMENT_POPUP_EDIT</b>, in SE37 and then enter the following things, and see.here they are getting scroll bar.just give space to read_only

TITEL                                                 
USERNAME                        USERNAME              
DATE                            05/08/2006            
TIME                            02:59:55              
SET_TOOLBAR                     X                     
SET_STATUSBAR                   X                     
READ_ONLY                                            
STATUS_TEXT                     string                
                                          

Regards

vijay

athavanraja
Active Contributor
0 Kudos

is it in report selection screen or moduple pool program

report selection screen:

parameters: pa(1000) visible length 50 .

on GUI

check the check box scrollable.

in both the cases you wont see the scroll bar . but you can still move the cursor till the end of the size of the field.

for example if the field size is 100 and you set the visible length to 50.

you will see first 50 characters after that move the cursor to see rest of the values

Regards

Raja

athavanraja
Active Contributor
0 Kudos

are you talking about CL_GUI_TEXTEDIT

Regards

Raja

former_member188685
Active Contributor
0 Kudos

Hi Priya,

are you using the class cl_gui_textedit. and can you explain jow you are showing the text in textbox.

Regards

vijay