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

Button with simple WRITE

Former Member
0 Likes
651

Hi. I have a short question. Let's say that I want to make a simple write program

WRITE: 'some text'.

And after launching that programm I'd like a button appears in tho top of screen. It can be in menu or sth like SSCRFIELDS.

I assume that when I want to use a WRITE statement I can't create a SCREEN with STATUS GUI an put that write into that screen. So what should I do? Greetings. P.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
619

Absolutly, you can, just use the SET PF-STATUS statement right before doing your WRITE statements. Created the gui status, and make sure to put the fcodes for BACK and EXIT.

Regards,

RIch Heilman

3 REPLIES 3
Read only

Former Member
0 Likes
619

You CAN have a PF-STATUS in a list.

have alook at the Demo program demo_list_menu_painter

demo_list_set_pf_status_1

demo_list_set_pf_status_2.

Regards,

Ravi

Message was edited by:

Ravi Kanth Talagana

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
620

Absolutly, you can, just use the SET PF-STATUS statement right before doing your WRITE statements. Created the gui status, and make sure to put the fcodes for BACK and EXIT.

Regards,

RIch Heilman

Read only

Former Member
0 Likes
619

Hi,

You can have PF STATUS call the screen in which you've defined the buttons that u require.

<b>Reward points if this helps,</b>

Kiran