‎2007 Aug 14 7:31 AM
Hi Friends..
In Dialog programming...
i need to display the text messages in right side of the screen..
i divide my main screen into three parts
1)selection area- it contains push buttons.
2)subscreen area
3)text area..
if i select any button in selection area.. subscreen area display the relevant screen..
upto this ok for me..
next.. depends on the subscreen i need to diaplay some text
in the right corner of the screen..
in that purpose which one is best,.. custom control..
how can i store and retrive data in custom control depends on subscreen..
plz anyone give me the suggestion.. for that..
Thanks in advance
Gowrishankar
‎2007 Aug 14 7:54 AM
Hi,
You have to create a container in the third screen. Use the class CL_GUI_CUSTOM_CONTAINER. Further, more functions can be found in the class CL_GUI_TEXTEDIT.
-Usha
‎2007 Aug 14 7:43 AM
Hi,
Simply create a Text Output field & populate it.
MESSAGE = 'Test message'.
<b>Hide it using</b>
if message is initial.
LOOP AT SCREEN.
IF SCREEN-NAME = 'MESSAGE'.
SCREEN-INPUT = 0.
SCREEN-OUTPUT = 0.
SCREEN-INVISIBLE = 1.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
else.
LOOP AT SCREEN.
IF SCREEN-NAME = 'MESSAGE'.
SCREEN-INPUT = 0.
SCREEN-OUTPUT = 1.
SCREEN-INVISIBLE = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
endif.
Best regards,
Prashant
‎2007 Aug 14 7:54 AM
Hi,
You have to create a container in the third screen. Use the class CL_GUI_CUSTOM_CONTAINER. Further, more functions can be found in the class CL_GUI_TEXTEDIT.
-Usha