In my program, I am using an Enter Key to work the same as a Tab key, from what I have read on the Internet, it tells me to use the MoveFocus
In C#, the command is this: new TraversalRequest(FocusNavigationDirection.Next))
SO I tried with the highlighted code below, but I can't get it to recognize the Next. I know I have this written wrong -what is the correct way to write this?
(I am using WPF for my screens)
entry "WPR_AP110000_F_DUE_DATE_KEYDOWN" using by value sender e_key.
PERFORM SET-LINKAGE.
AP110000-F-DUE-DATE-KEYDOWN.
move e_key::Key to WOW-KEY-VALUE.
MOVE WOW-KEY-VALUE TO WIN-KEY.
IF WIN-KEY = type Key::Return
Invoke AP110000_WIN::F_DUE_DATE::MoveFocus(new TraversalRequest(new FocusNavigationDirection()))
END-IF.