Author Topic: setProfile crash? [Solved]  (Read 2610 times)

Why do you have to change the profile of a scroll ctrl?
I need to make the scroll bar and background transparent

I see, but why? Can you not just do this another way if it doesn't work?

For example you could have it always be transparent and use a swatch to create the opaque background.

I need the scrollbar to be transparent and then non-transparent later. I don't think I remake that part with a couple swatches. Any other ideas D; ?

Make two separate scroll controls, remove the content from the first and add it to the second, make the first invisible and make the second visible.

I need the scrollbar to be transparent and then non-transparent later. I don't think I remake that part with a couple swatches. Any other ideas D; ?

You can enable/disable the scroll bar by changing horiz/vertScrollBar to alwaysOn/alwaysOff (or similar, been a while since I touched the gui editor)

It will work if you remove the object from its parent before changing the profile, and then add it again.

It will work if you remove the object from its parent before changing the profile, and then add it again.
Aha, nice that worked! Thanks to everyone who contributed time helping <3