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"

Buttons in scroll box

I am generating buttons during runtime and attaching them to the scroll box. I am storing these buttons in an array (Check the picture). alt text

I want to detect and get the button's style when clicked on the button. At the moment I am doing this to call "OnButtonClicked", but I am not getting the right button's reference. alt text

Can anybody tell me how to get this working and detect the correct button on being pressed?

Product Version: UE 4.17
buttons2.jpg (102.1 kB)
capture.jpg (83.0 kB)
more ▼

asked Oct 16 '17 at 06:23 AM in Blueprint Scripting

avatar image

35 4 3 11

avatar image MiguelHQ May 20 '18 at 04:25 AM

How did you do to scroll over the buttons? When i click the buttons I cant scroll :(

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

1 answer: sort voted first

Hi, Do you put all info on each button when you creating them ? Look at mine how I set them. I'm adding all the info that i'll need later for each button when a create them. So you can use the OnClicked Event and you'll get the right info on each button

part1.png (198.2 kB)
part2.png (174.4 kB)
more ▼

answered Oct 16 '17 at 08:01 PM

avatar image

Denis Lambert
310 4 4 8

(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