on 11-30-2007 6:24 AM
Hi Friend,
I want to take some input text ( not single line....want multuple lines ) from the user, and then i want to print the same one in Smarform.
Please advise me.
Thanks in advance.
Hi,
Create a text-editor using custom container, there the user can enter more lines and then u can call the smartforms.
IF area IS INITIAL.
CREATE OBJECT area EXPORTING container_name = 'EDIT_CONTROL'.
ENDIF.
IF editor IS INITIAL.
CREATE OBJECT editor EXPORTING parent = area.
ENDIF.
editor->set_wordwrap_behavior(
EXPORTING
wordwrap_mode = 2
wordwrap_position = 80 ).
editor->set_text_as_r3table(
EXPORTING
table = source_table ).
editor->set_toolbar_mode(
EXPORTING
toolbar_mode = '0' ).
IF row <> 0.
editor->highlight_lines(
EXPORTING
from_line = row
highlight_mode = 1
to_line = row ).
regards,
Santosh Thorat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.