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

cl_gui_abapedit

Former Member
0 Likes
1,223

Hi,

I use the class "cl_gui_abapedit" in my program to show my abap-code in the dynpro (view mode).

My problem is that i can not scroll to see the whole abap-code. can somebody helps me please?

Hi,

I use the class "cl_gui_abapedit" in my program to show my abap-code in the dynpro (view mode).

My problem is that i can not scroll to see the whole abap-code. can somebody helps me please?

6 REPLIES 6
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,069

Hi,

Maybe you have used a custom container that doesn't have the scroll checkboxes (horizontal, vertical) ticked?

Sandra

Read only

0 Likes
1,069

hi sandra,

i used cl_gui_container.

Read only

0 Likes
1,069

cl_gui_container alone means nothing, a container can be instantiated only based on one of these container types : custom, splitter, dialog box, docking (or cl_gui_container=>screen0)

sandra

Read only

Former Member
0 Likes
1,069

thank you Sandra,

now i have another question. is there any attribute in the class cl_gui_abapedit like activscroll which can i use to active the scroll function?

sorry the question is misleading.

yousef

Read only

0 Likes
1,069

Hi Yousef,

Do you use a subscreen? There is also a Scrollable attribute.

I had a try with my SAP GUI 7.20, and I see that there are scrollbars internal to the editor control, they appear as soon as a text line overtakes the control width, or if there are more lines than the control height.

By the class/OCX methods, I don't see any possibility to control the scrollbars.

But in the settings (button at bottom right), there are checkboxes to control it. Unfortunately, it seems that it's a general setting (common to other tools that use the ABAP editor, like debugger, SE38), so I think you shouldn't change it.

I also saw that there are undocumented properties (UPLOAD_PROPERTIES method), so it can't help.

Last thing, check SAP notes, and install latest SAP GUI version/patch.

Sandra

Read only

0 Likes
1,069

ok, thank you Sandra.