04-21-2017 10:50 AM
I have created a POPUP window with OK button using POPUP_FOR_INTERACTION. popup is triggering as expected and i have written logic for OK button also. now issue is "If i click on OK button it is calling some other screen(logic implemented) whereas if click on ENTER button it is not moving to any screen". my requirement is if click on ENTER button it should call another screen. what is the user command for ENTER button in POPUP?
04-21-2017 11:07 AM
Hi!
By default you have a command "Continue" in GUI-status for Popup, so if you set it, it should work
04-21-2017 12:32 PM
You say you have written logic for the OK button and it is working. You then introduce the 'ENTER' button but you have not mentioned that you have created an 'ENTER' button nor written any logic for it. If you have not done any of this how can you click it, or are you referring to a standard button in the parent window tool bar such as the ONLI (Online) button ??
Rich
04-24-2017 9:39 AM
Look at the FM source and called screen/status, only the three functions codes BUT1, 2, 3 will end the pop-up display, look at module d0100_pai_01 , neither the Enter nor the Escape key will exit the pop-up as they won't set any of those three values for ok_code, either space or error invalid fuction.
If I didn't understand your requirement, then elaborate on it, which values did you pass to the FM Button parameters, etc.