x

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"

UMG - disable TAB and Nav keys?

Hi, I have a UMG widget with a menu for an Inventory system. I am using buttons as menu items, but only want to support mouse click, not Nav keys. I have set all Navs at all levels to STOP, but somehow TAB is still working which is causing issues with loss of focus.

If TAB is used inside the menu, I am unable to catch the close menu keypress and close the menu.

Ideally I would like to use TAB to get into and out of the menu, but am currently using Key "I" until I figure out how to disable TAB inside UMG.

Appreciate any help.

Thanks Stuart

Product Version: UE 4.8 Preview
Tags:
more ▼

asked May 30 '15 at 09:16 PM in Blueprint Scripting

avatar image

Macw0lf
71 2 6 10

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I am not sure if you're still having this problem but here is a solution I recently came up with:

There is one setting and one variable that need to be disabled to stop buttons from accepting keyboard inputs. At the very bottom of the details panel in the designer is a setting called "Is Focusable" which you need to turn off for each button or other selectable widget in your menu. The variable is "bSupportsKeyboardFocus" in the behavior category. I've included screenshots of both of these below.

Hope this helps,

Spencer

alt text alt text

more ▼

answered Jul 15 '15 at 06:51 PM

avatar image

slee1990
73 6 13 16

(comments are locked)
10|2000 characters needed characters left
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