‎2009 Feb 16 8:56 AM
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?
‎2009 Feb 16 8:57 AM
‎2009 Feb 16 8:58 AM
Hi,
Do like this..
set pf-status 'GUI' excluding 'UNDOBUTTON' immediately.
Regards
Kiran
‎2009 Feb 16 8:59 AM
‎2009 Feb 16 8:59 AM
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
‎2009 Feb 16 9:00 AM
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
‎2009 Feb 16 9:26 AM
I have tried it but it is getting completely removed... I only want to de-activate it.
‎2009 Feb 16 9:48 AM
Try this,
SET PF-STATUS EXCLUDING 'UNDO' IMMEDIATELY.
Regards,
Joan
‎2009 Feb 16 10:15 AM
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