01-03-2011 6:02 PM
hi all,
i have made the line limit using
"CONSTANTS: c_line_length TYPE i VALUE 256.".
but how can i make a limit on paragraph length , so that the user cannot enter more than 255 characters.
01-07-2011 7:13 AM
01-07-2011 7:33 AM
Hi,
After filling the data find the length of entered text and throw message (only 255 characters are considered).
Regards,
Thiru
01-07-2011 9:44 AM
hi rajat,
you can use the flollowing when you are creating the object for the text editor.
CREATE OBJECT g_editor
EXPORTING
parent = g_editor_container
wordwrap_mode = cl_gui_textedit=>wordwrap_at_fixed_position
wordwrap_to_linebreak_mode = cl_gui_textedit=>true
max_number_chars = 150 " restricts the nnumber of characters to 150
regards,
syed