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"

Add TextBox After Pressing a Button

I'm creating an app. There's a button called "Add". What I want to do is when the user presses the button "Add", then a TextBox is created, where the user can add a text. I can't find a way to do that. Plus, the user can add as many TextBoxes as he/she wants. So, I can't add a number of invisible TextBoxes, making them visible after pressing "Add".

Product Version: UE 4.17
more ▼

asked Oct 21 '17 at 07:13 PM in Using UE4

avatar image

3 1 2 4

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

1 answer: sort voted first

You need to make a widget blueprint with only your text box, then you do something like this, except the location, you assign it however you what, i did it random so i could see there where a lot creating when i press the button

alt text

sin-titulo4.png (398.2 kB)
more ▼

answered Oct 21 '17 at 08:05 PM

avatar image

266 4 4 5

avatar image diego.chlp Oct 21 '17 at 08:38 PM

Thank you for the reply. Could you explain to me what a canvas panel is and why I should use it?

avatar image Daher Oct 21 '17 at 09:05 PM

The canvas panel is the 'space' where you put your widgets, if you see on the designer tab, every time you add a widget it become a child of the default canvas panel, i only selected this default canvas and on the details tab on the top you can make it a variable to use it on your functions,

avatar image diego.chlp Oct 21 '17 at 10:58 PM

I just realised how dumb of a question that was. But thanks for the help. I'm going to do what you showed me and I'll let you know.

(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