Question

Moving to the next object after pressing ENTER key in Windows Form [Openspan/Robotic Automation]

Hi,

Is there anyway to move objects by pressing ENTER key like Tab key?

There are multiple textboxes in a Windows form in my project, and I would like to move input area by pressing ENTER key.

I would appreciate it if you can give me some idea on this.

Thank you.

***Moderator Edit-Vidyaranjan: Updated Platform Capability***

Comments

Keep up to date on this post and subscribe to comments

August 14, 2019 - 4:25pm

Hi,
In Pega Robotics we have a concept called send keys. Where you can pass the required keyboard key to a particular control.

http://help.openspan.com/52/Adapters_Interrogation/SendKeys_Method.htm

August 16, 2019 - 2:45am
Response to chakri5122

Hi,

 

Thank you for your replay.

It's not WebAdaptor what I need to control. It is Windows form.

"Key Press" method clould resolve the issue but it does not cover ENTER key but shift and alt keys only...

 

Is there any way to focus controls by pressing ENTER key?

 

Thanks.

 

August 16, 2019 - 8:17am
Response to KosukeT0

Hi,

Send keys is used only for windows forms.

If key press solves your issue you can use the method raise event, where you can make use of  onkeypress event.