Tuesday, June 23, 2009

Dynprotextarea für Anzeige

CONSTANTS: gc_ne0 TYPE i VALUE '1',
gc_eq0 TYPE i VALUE '0',
gc_line_length TYPE i VALUE '100'.

CREATE OBJECT go_custom_container
EXPORTING
container_name = 'CC_INFO'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.

CREATE OBJECT go_editor
EXPORTING
parent = go_custom_container
wordwrap_mode =
cl_gui_textedit=>wordwrap_at_fixed_position
wordwrap_position = gc_line_length
wordwrap_to_linebreak_mode = cl_gui_textedit=>true.

go_editor->set_readonly_mode( gc_ne0 ).
go_editor->set_statusbar_mode( gc_eq0 ).
go_editor->set_toolbar_mode( gc_eq0 ).

No comments: