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

Screen Programming-Title Bar

Former Member
0 Likes
493

Hi Experts,

I am developing a Screen Program.

In this program I need to change the Title  of the screen at Runtime.

I tried SET TITLEBAR but it didn't work.

I need help to know how to chage the Titleate runtime.

Thanks in advance.

Regards

Richards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
463

Hi Richard,

Put & in the title text while creating the Titlebar and pass it from your program dynamically.

Say your title bar is 'ZTITLE',

SET TITLEBAR 'ZTITLE' WITH 'First Title'.

and later,

SET TITLEBAR 'ZTITLE' WITH 'Second Title'.

Thanks,

Shambu

2 REPLIES 2
Read only

Former Member
0 Likes
464

Hi Richard,

Put & in the title text while creating the Titlebar and pass it from your program dynamically.

Say your title bar is 'ZTITLE',

SET TITLEBAR 'ZTITLE' WITH 'First Title'.

and later,

SET TITLEBAR 'ZTITLE' WITH 'Second Title'.

Thanks,

Shambu

Read only

0 Likes
463

Hi,

Consider you have screen 100.

In Flow Logic:

PROCESS BEFORE OUTPUT.

MODULE STATUS_0100.

write the below code in module STATUS_0100.

MODULE STATUS_2000 OUTPUT.

IF ABC EQ 'X'.

     SET TITLEBAR 'GUI_2000'.

ELSEIF XYZ EQ 'X'.

     SET TITLEBAR 'GUI_5000'.

ENDIF.

ENDMODULE.

Hope this will help you......

Regards,

Rajesh Sadula.