Hide soft keyboard in ranorex C Code

Ranorex Spy, Recorder, and Studio.
User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6181
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Hide soft keyboard in ranorex C Code

Post by odklizec » Tue Feb 18, 2020 2:03 pm

Hi,

Try "Mobile Key Press" action with parameter {IME_ACTION_DONE}. This should hide the soft keyboard. Via code like this:

Code: Select all

repo.element.inputElement.PressKeys("{IME_ACTION_DONE}");
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

User avatar
N612
Posts: 135
Joined: Mon Jul 11, 2016 4:01 pm

Re: Hide soft keyboard in ranorex C Code

Post by N612 » Tue Feb 18, 2020 3:50 pm

Another option is to use Null Keyboard and not worry about the keyboard at all.

https://play.google.com/store/apps/deta ... d&hl=en_US