11-07-2011 12:58 PM
My requirement is to set TITLEBAR for a main screen from subscreen. Can this be done ?
11-14-2011 6:51 AM
Hi NandaKumar,
No, you cannot set title from subscreen.
The flow logic of a subscreen screen may not contain any dialog modules containing the statements SET TITLEBAR, SET PF-STATUS, SET SCREEN, LEAVE SCREEN, or LEAVE TO SCREEN. Any of these statements causes a runtime error. You cannot change the GUI status of a main screen in a subscreen screen.
Regards,
-Sandeep
11-14-2011 8:00 AM
Try this.. Set the titlebar in the main screen itself.
Eg..
SET TITLE_BAR 'TEXT-101' using w_text.
You can enter any common value to TITLE-101 or you can leave it blank.
Now in your subscreen set the desired value for w_text. this should satisfy your requirement.
Suzie