[Question] Set focus to text box without showing cursor
I have a simple multiplayer chat window that works just fine. I press T to bring up the window and start typing because I set the user focus to the text box on creation. Is there a way to have it so the mouse cursor doesn't appear when its focused? I have checked the UMG widget and made sure that there wasn't any cursor selected under Behavior. Any combination of input mode and keyboard focus either results in the cursor being visible or the text box not being selected.
The widget itself is created in BeginPlay. It is just added and removed from the viewport with OpenChatWindow and CloseChatWindow functions.
asked Jan 27 '15 at 04:34 AM in Blueprint Scripting
from player controller u can set ShowMouseCursor to false to hide mouse cursor, for the focus in my game i do the same thing, in my case i set input mode to UI Only
answered Jan 27 '15 at 05:42 AM
Set keyboard Fucos what u looking for .. make an Event on that widget and call Set Keyboard Fucos to TestBox and call it when Press key without show mouse Crosser ...
answered Jan 06 '18 at 03:32 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here