cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
burliad
Helper III
Helper III

Onscreen Keyboard Buttons

Hi All,

 

Is there a way to use the onscreen keyboard buttons.  Specifically I would like to hide/close the keyboard when pressing the "GO" button.

 

 

3 REPLIES 3
poweractivate
Community Champion
Community Champion

@burliad 

 

Yes, it is supported by setting the VirtualKeyboardMode property of the Text Input control to either Text or Numeric

 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-text-input#additional-...

 

VirtualKeyboardMode – Type of virtual keyboard, text or numeric, that appears on an app user's touch screen. The Format property determines the default value. Device support varies. Devices that are running iOS must have at least version 12.2. The recommended version of Android is 9.0, and capabilities of numeric keyboards vary for Android devices. Windows 10 doesn't support this property.

 


This is only supported on iOS and Android - not on the desktop computer.

 

For more details, see similar topic here:

Enable virtual keyboard for apps in browser 

poweractivate
Community Champion
Community Champion

@burliad 

 

For your scenario, you can try OnChange property, to use SetFocus(SomeOtherControl)

 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-setfocus

 

If the above does not work, see if modifying a variable (Set) referred to by the VirtualKeyboardMode property, from OnSelect and then again OnChange, might also help if focusing to another control is not desired.

 

burliad
Helper III
Helper III

It looks as if VirtualKeyboardMode property can only be changed from Auto, Numeric, or Text.  The keyboard is already in the correct mode.  I would like to add a function to the "GO" or "ENTER" Buttons on that keyboard.  Currently nothing happens when you press the GO button and the keyboard remains open until the user hides it. 

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,876)