Kalan
Member
Dear All,
I have the requirement to focus the cursor on specific fill-in field in the event of pressing "ENTER" key on another fill-in field. For ex. Fill-in-1, Fill-in-2 and Fill-in-3 text input fields. When user press "ENTER" key on Fill-in-1 then cursor should move into Fill-in-3 field to get the next input.
I have tried this with below code, but I can see control is triggerring the message alert from ON ENTRY event of Fill-in-3 but cursor remains in Fill-In-1. My expectation is cursor control should focus on Fill-in-3 field. Could someone please suggest me to acheive this?
ON RETURN OF FILL-IN-1 IN FRAME fMain
DO:
Apply "ENTRY" TO Fill-In-3.
END.
ON "ENTRY" OF Fill-IN-3 IN FRAME fMain
DO:
Message "Control is in Fill-in-3" view-as alert-box.
RETURN NO-APPLY.
END.
Thanks.
I have the requirement to focus the cursor on specific fill-in field in the event of pressing "ENTER" key on another fill-in field. For ex. Fill-in-1, Fill-in-2 and Fill-in-3 text input fields. When user press "ENTER" key on Fill-in-1 then cursor should move into Fill-in-3 field to get the next input.
I have tried this with below code, but I can see control is triggerring the message alert from ON ENTRY event of Fill-in-3 but cursor remains in Fill-In-1. My expectation is cursor control should focus on Fill-in-3 field. Could someone please suggest me to acheive this?
ON RETURN OF FILL-IN-1 IN FRAME fMain
DO:
Apply "ENTRY" TO Fill-In-3.
END.
ON "ENTRY" OF Fill-IN-3 IN FRAME fMain
DO:
Message "Control is in Fill-in-3" view-as alert-box.
RETURN NO-APPLY.
END.
Thanks.