‎2007 May 22 9:34 AM
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
‎2007 May 22 10:24 AM
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