Window.HideKeyboard
-------------------

Hides the keyboard.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Window](component_Window.md) | [13.2](newinversion132.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Window.HideKeyboard" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Hides the keyboard.  
On Windows same as [Window.ShowKeyboard](WindowShowKeyboard.md), but may not launch the keyboard.  
  
If you called [Window.ShowKeyboard](WindowShowKeyboard.md) before, you can call this function to hide it.  
Check [Window.IsKeyboardVisible](WindowIsKeyboardVisible.md) for whether the keyboard is visible.  
### Examples

Hide keyboard if visible:

 If \[ MBS ( "[Window.IsKeyboardVisible](WindowIsKeyboardVisible.md)" ) = 1 \]   
 Set Variable \[ $r ; Value: MBS ( "Window.HideKeyboard" ) \]   
End If  
### See also

- [Window.Hide](WindowHide.md)
- [Window.IsKeyboardVisible](WindowIsKeyboardVisible.md)
- [Window.Show](WindowShow.md)
- [Window.ShowKeyboard](WindowShowKeyboard.md)

### Release notes

- **Version 13.2**
    - Added [Window.HideKeyboard](https://www.mbsplugins.eu/WindowHideKeyboard.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin 13.2](https://www.mbsplugins.de/archive/2023-05-17/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.2pr1](https://www.mbsplugins.de/archive/2023-04-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 30th March 2023 , last changed 7th May 2023

  
[Window.HideContent](WindowHideContent.md) - [Window.HideOverlay](WindowHideOverlay.md)

[HTML Version](WindowHideKeyboard.shtml)