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

adding undo button on screen

Former Member
0 Likes
1,056

I am adding a undo button in the application toolbar of my screen,now after certain time when there is no action left to undo , this button should be de -activated so that the user cannot click it any further

How to make on screen modification of application toolbar buttons?

8 REPLIES 8
Read only

Former Member
0 Likes
885

Hi,

Use.

set pf-status 'XYZ' excluding 'UNDO' immediately.

Read only

Former Member
0 Likes
885

Hi,

Do like this..

set pf-status 'GUI' excluding 'UNDOBUTTON' immediately.

Regards

Kiran

Read only

Former Member
0 Likes
885

Hi,

Use SET PF-STATUS EXCLUDING command.

Thanks,

Ibrahim

Read only

Former Member
0 Likes
885

hi.....

you should use a pf status and assign all the work that needs to be done to it...

after all work is done you can give command like...

set pf-status 'STATUS' excluding 'UNDO' immediately.

here UNDO is assigned function code to the button and STATUS is pf status

regards

Read only

Former Member
0 Likes
885

hi,

The following statement can be used to exclude or de activate a button on the application tool bar.

set pf-status 'NEW' exclude 'FCODE'.

where FCODE is the funciton code assigned to that particular button..

In your case can you be more specific about what "undo" you are referring to on the selection-screen, so that it can still be evaluated .

Thanks & regards

Sharath

Read only

0 Likes
885

I have tried it but it is getting completely removed... I only want to de-activate it.

Read only

Former Member
0 Likes
885

Try this,

SET PF-STATUS EXCLUDING 'UNDO' IMMEDIATELY.

Regards,

Joan

Read only

Former Member
0 Likes
885

Hi ,

for deactivation of Push button ---> u have to do like this

Se41--->Give program name + pf status -


>menu item ->GOTO>Attributes-->Push Button Asssignments --->click .

where u will get options like --->display all , hide all , or selected Functions.

but for u wat u can do is --> anyhow after sometime u are going to refresh the screen , that time u need to all another pf-status which will have deactivated push button.

regards

Prabhu