# SetKeyboardFocus Stopped Working

**URL:** <https://forums.unrealengine.com/t/setkeyboardfocus-stopped-working/382912>\
**Category:** UI\
**Tags:** unreal-engine, bug-report, slate, CPP, question\
**Created:** [January 25, 2017, 12:11pm UTC](https://forums.unrealengine.com/t/setkeyboardfocus-stopped-working/382912 "2017-01-25T12:11:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatzeOGH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MatzeOGH](https://forums.unrealengine.com/u/MatzeOGH)\
**Post date:** [January 25, 2017, 12:11pm UTC](https://forums.unrealengine.com/t/setkeyboardfocus-stopped-working/382912/1 "2017-01-25T12:11:22Z")

</div>

FSlateApplication::Get().SetKeyboardFocus(InputField);  
stopped working with Unreal Engine 4.15p1.

Steps to reproduce:  
1 create a new slate widget with an SEditableTextBox and display it in an editor window.  
2. add a button to the widget in order to call the set keyboard focus method  
3. Call the SetKeyboardFocus method.  
4. focus does not get set

---

<div class="post-metadata">

**Author:** ![brunogbrito](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brunogbrito](https://forums.unrealengine.com/u/brunogbrito)\
**Post date:** [November 3, 2017, 6:57am UTC](https://forums.unrealengine.com/t/setkeyboardfocus-stopped-working/382912/2 "2017-11-03T06:57:23Z")

</div>

This is happening again in 4.18
