Code: Alles auswählen.
IF NOT wiz_cont2_1 IS INITIAL.
FREE wiz_edit2_1. " Edit-Control
FREE wiz_cont2_1. " Container Control
CALL METHOD cl_gui_cfw=>flush.
ENDIF.
Code: Alles auswählen.
* Destroy Control.
IF NOT editor IS INITIAL.
CALL METHOD editor->free
EXCEPTIONS
OTHERS = 1.
* free ABAP object also
FREE editor.
ENDIF.
* destroy container
IF NOT textedit_custom_container IS INITIAL.
CALL METHOD textedit_custom_container->free
EXCEPTIONS
OTHERS = 1.
* free ABAP object also
FREE textedit_custom_container.
ENDIF.
CALL METHOD cl_gui_cfw=>flush
EXCEPTIONS
OTHERS = 1.