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

Method GET_ROW_HEIGHT

Former Member
0 Likes
458

Hi,

I am using a splitter container to print the top-of-page, end-of-page and grid. I want to set the height of all the 3 sections. I am using class CL_GUI_SPLITTER_CONTAINER. Please tell me how to use method GET_ROW_HEIGHT?

Regards,

Nimisha

1 REPLY 1
Read only

Former Member
0 Likes
299

Hi Nimisha,

here an example:

data: l_height type i.

  • Akt. Höhe auslesen

call method g_splitter->get_row_height

EXPORTING

id = 1

IMPORTING

result = l_height.

  • Kurzdump-Vermeidung 😆

CALL METHOD cl_gui_cfw=>flush.

  • Abh. von akt. Höhe Ein- (75) bzw. Ausblenden (100)

if l_height = 100.

l_height = 75.

else.

l_height = 100.

endif.

call method g_splitter->set_row_height

EXPORTING

id = 1

height = l_height.

Hope that helps!

Regards

Nicola