2011 Aug 30 4:38 PM
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?
2011 Aug 30 4:54 PM
Hi,
Maybe you have used a custom container that doesn't have the scroll checkboxes (horizontal, vertical) ticked?
Sandra
2011 Aug 30 5:06 PM
2011 Aug 30 5:18 PM
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
2011 Aug 31 11:26 AM
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
2011 Aug 31 10:51 PM
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
2011 Sep 01 4:41 PM