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

Scroll position being initialized

Former Member
0 Likes
1,024

Hi All,

I have few tabs(tabstrip) on a screen. Each of them contains a tree control.

Now since the data width is long output shows two horizontal scroll bars for tree.

1. For the whole tab on screen

2. For the Tree in the tab.

Now I have given a context menu on one for the items in the tree which is placed in the last column of tree, hence needs to be scrolled to right to be seen. When user right clicks on this item tree scrolls back to its initial position(to left) and item is no more visible.

Is there a way to stop this scrolling behaviour.

Tree is of type: cl_column_tree_model

Solutions I tried:

1. On the subscreen which holds the tree container I have checked the "Hold Scroll Position" checkbox in screen Attributes and also called the FM "SCREEN_INIT" before loading the context menu.

2. Tried to set the Resizing Attributes of custom container which holds the screen to that of screen size.

both of the solutions did not work.

Is there any other way which can solve this problem.

Thanks in advance,

Ste

3 REPLIES 3
Read only

Former Member
0 Likes
689

Any suggestion is welcomed.

Read only

0 Likes
689

Any ideas!!!

Read only

Former Member
0 Likes
689

This problem is not there when I run this application using SAP GUI 640 Beta Release(patch 8 and lower). Whereas it does not work with SAP GUI 640 Final Release(patch 9 and higher)

Thanks