WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Parent's Parent is UIParent (https://www.wowinterface.com/forums/showthread.php?t=8914)

Bella 03-07-07 06:28 PM

Parent's Parent is UIParent
 
I'm having a little difficulty accessing some frames. I know that the frame's I want to change parent's parent is UIParent. However, when I change something via UIParent, the frames don't inherit what I'm changing. Is this because frames don't inherit twice? If so, how would I get the frames that are children of the UIParent, in order to modify them and have it inherit to the children. Or is this because the frames I am trying to change already have settings that are overriding what I'm trying to change? In which case, will I need to add code for every frame I want to change?

If that didn't make any sense, sorry. It seems a little cryptic, haha.

Thanks
Bella

Esamynn 03-07-07 07:31 PM

What properties are you trying to change?

Only certain frame properties affect a frame's children as well.

Bella 03-08-07 05:09 PM

Basically just Show, Hide, and SetAlpha. From what I have read, setalpha should work for child frames except for those that have specifically been set to something other than 1. Or is it that if they have been set within the child frame (even to 1?) it overrides anything it might inherit from the parent?

Esamynn 03-09-07 01:13 PM

I have never used :SetAlpha() myself, so I can't speak to specifics of its functionality. Perhaps you should do some tests to confirm exactly how it functions.


All times are GMT -6. The time now is 03:15 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI