Hello Team,
I am working on a custom MSCA page. We want to implement a Special Key pressed event. When user presses CONTROL-Y the cursor will change its position to Done button.
Below is the code I am using:
public void specialKeyPressed(MWAEvent ev) throws AbortHandlerException,
InterruptedHandlerException,
DefaultOnlyHandlerException {
Session session = ev.getSession();
super.specialKeyPressed(ev);
trace("specialKeyPressed::Inside Special key Pressed");
trace("specialKeyPressed::Special key Pressed - " +
ev.getAction());
if (ev.getAction().equals("USER_FUNCTION_3")) // Done Btn Control Y
{
int index = getFieldIndex("done");
setCurrentFieldIndex(index);
}
}
However, the page is not invoking this method, Kindly can you please help what the issue can be ?
Thanks in Advance!
Regards,
Abhik Dey