Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Some Button OnClicked Not Responding When Focus On A Editable Text

Hey guys, my title may be somewhat confusing as the question I confronted with.

The problem is when my focus is on a EditableText and I click some Button else where, some of the buttons won't trigger the OnClicked event. I follow the code in function FSlateApplication::RoutePointerDownEvent only to find nothing actually useful.

However, what can temporarily solve my problem is to uncheck the check box of IsFocusable of the button in editor. That is to say, if a button is not focusable, then I can trigger the OnClick event when my focus is in a EditableText. But with those focusable button, the event won't get called.

I've spent about a day on this question and made little progress. I am new to UE4 and unfamiliar with how UE4 "route" the click event. Despite I have a temporary solution, I want to know what is the real cause of this question. By the way, I don't want to set every button as not focusable if this is not what the engine intends the user to do so. So I come to here and ask for help.

Product Version: UE 4.19
more ▼

asked Aug 23 '18 at 09:36 AM in Using UE4

avatar image


(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

some of the buttons won't trigger the OnClicked event

What's special about some them? Under regular circumstances, the focus seems to be shifting correctly:

Image from Gyazo

more ▼

answered Aug 23 '18 at 11:01 AM

avatar image

14.6k 76 25 61

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question