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"

get parent reference when pressing a button in a Widget Blueprint

Hello, I let out the information of an array, create several horizontal boxes and fill them with texts and buttons.

Well, for example, I would like that when pressing the delete button the horizontal box is deleted. I already connected the OnClickEvent to the buttons, but my problem is that I can not hand over the references. Maybe someone has a tip for me.

alt textalt textalt text

Product Version: UE 4.18
Tags:
pic1.jpg (149.4 kB)
pic3.jpg (31.1 kB)
pic2.jpg (77.0 kB)
more ▼

asked Feb 24 '18 at 09:53 AM in Blueprint Scripting

avatar image

Pacman2000
1 2 1

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

1 answer: sort voted first

I would create a custom widget instead of an horizontal box and populate them in a scrollbox, then each custom widget will reference to self so just use a remove from parent

Or if you want to keep it like this use a set visibility, collapsed but it won't clear your values itself, but I don't know how you populate thoses.

more ▼

answered Feb 24 '18 at 02:22 PM

avatar image

CharlyB.Goode
202 2 10 17

avatar image Pacman2000 Feb 26 '18 at 04:35 PM

great thanks, sometimes you just do not get into the simplest things. thats how it works. Thanks

(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