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"

Move cursor/scroll UMG TextBox

Is there any way of moving where the cursor in a TextBox currently is (using either Blueprint or C++)? In my game we simulate a character typing some stuff into a text input but the text gets cut off when it gets longer than the width of the widget instead of scrolling to the end. I've dug through the source and SEditableTextLayout::GoTo seems like the function I want but it's a protected variable inside the SEditableText (which is itself a protected variable of SEditableTextBox). Can this be done in editor or am I going to have to make my own custom UEditableTextBox class with this functionality exposed?

Product Version: UE 4.16
more ▼

asked Jun 06 '17 at 06:20 PM in Using UE4

avatar image

934 44 62 211

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

1 answer: sort voted first

SMultiLineEditableText exposes that function, but SEditableText doesn't.

There's no good reason for this (other than historically because SEditableText is older and didn't originally use a text layout). I'll get those exposed to the single-line version for 4.17.

more ▼

answered Jun 06 '17 at 06:55 PM

avatar image

Jamie Dale STAFF
7.5k 177 67 307

(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