Send keypress in code

Hello everyone,

I have some code in X++ and as soon as it's complete, I want to send the tab keypress.  How do I do that?

I've read about the Task method in the form but that isn't what I want.  I don't want to change what happens when the user hits Tab, I want the Tab action to happen automatically after I do something in code.

I hope this makes sense.

Related
Recommended