2005 Aug 22 10:01 AM
How can we change the button caption (Text) on run time?
Example
Send, Receive in dynamically for situation
2005 Aug 22 10:25 AM
Hi,
when you define the button in the screen painter as a output field, you can move dynamically a text for this button. The fieldname in the program and the screen has to be the same.
Stefan
2005 Aug 22 10:13 AM
Hi Asheek,
There are many ways to do this. One of that is.
Define both the buttons 'Send' and 'Receive' in Gui Status. Now based on your condition you can enable and disable the buttons using SET PF-STATUS 'XXXX' addition EXCLUDING. You can get more information on SET PF-STATUS. Press F1 on this.
Thanks
Vinod
2005 Aug 22 10:43 AM
Hi Vinod
Thank you very much
It is a good idea that I can continue
Regards
Asheek
2005 Aug 22 10:25 AM
Hi,
when you define the button in the screen painter as a output field, you can move dynamically a text for this button. The fieldname in the program and the screen has to be the same.
Stefan
2005 Aug 22 10:50 AM
Hi Stefan
Thank you
I solved the problem earlier with two buttons.
But After I have seen your suggestion I move my coding to your method and its working fine and its an excellent method.
Thank you again
Regards
Asheek