Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dialog Programming..

Former Member
0 Likes
354

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
336

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

2 REPLIES 2
Read only

Former Member
0 Likes
336

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

Read only

Former Member
0 Likes
337

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