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"

How to cast from UI widget to another UI widget?

How do I cast to another UI widget?

alt text

alt text

Product Version: Not Selected
Tags:
a.png (198.4 kB)
a.png (175.2 kB)
more ▼

asked Feb 21 '18 at 04:06 PM in Blueprint Scripting

avatar image

MadElectron
26 3 7 13

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

1 answer: sort voted first

alt text

Here Ya go !

cast-to-widget.png (107.6 kB)
more ▼

answered Feb 21 '18 at 04:28 PM

avatar image

Exonfluxx
374 1 5 8

avatar image MadElectron Feb 21 '18 at 06:28 PM

UE4 compiler told me that if you get all widgets of class, you dont need to cast anymore, but it works both ways! Thank you!

avatar image Exonfluxx Feb 21 '18 at 11:30 PM

I was casting to my user widget class that contained FoldUi but yes you don't have to cast to if your getting a single class.

avatar image Snoxx Aug 16 '18 at 12:34 PM

I've tried this and doesnt work in 4.19.....I cannot do anything from my widget I am trying to cast to

avatar image MadElectron Aug 16 '18 at 05:05 PM

It works. You are doing something wrong

(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