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

Splitter-Container

Former Member
0 Likes
775

Hi.

I use a splitter container to display a chart and an alv grid. When the user ends the transaction I want to remember the sash-position of the splitter-container that the user gets the same setting at the next time. For that I use the method GET_SASH_POSITION (CL_GUI_EASY_SPLITTER_CONTAINER). But this methods returns always the value 0 (g_100_split_right->get_sash_position( importing sash_position = lw_layout-sash ).).

Does anybody out there use this method?

Thanks.

With best regards

Michael

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
686

Hi,

I could see the method "<b>SET_SASH_POSITION</b>".

Is there a method "GET_SASH_POSITION"?

Message was edited by: Sivakumar Muthusamy

4 REPLIES 4
Read only

Former Member
0 Likes
687

Hi,

I could see the method "<b>SET_SASH_POSITION</b>".

Is there a method "GET_SASH_POSITION"?

Message was edited by: Sivakumar Muthusamy

Read only

0 Likes
686

There are the methods:

GET_SASH_POSITION

SET_SASH_POSITION

in class CL_GUI_EASY_SPLITTER_CONTAINER.

I want to use them to detect the sash position and for the next run set the same sash position.

wbr

Michael

Read only

0 Likes
686
CALL METHOD GET_SASH_POSITION ...

CALL METHOD cl_gui_cfw=>flush.

This is because of the automation queue.

Read only

Former Member
0 Likes
686

CALL METHOD cl_gui_cfw=>dispatch.

CALL METHOD GET_SASH_POSITION