Unfortunately, there's no way to set something's location in relation to something else (except its parent page, of course).
Although, you might try putting 100 pixels of blank deadspace on the left and top of window B and simply set its location to the same as A. I believe you can get it to not absorb input so you can click through to A, thus giving you the effect you want.
__________________ If it ain't broke, it needs more features!
Last edited by Deathbane27 : 05-12-2005 at 04:10 PM.
Hmmmm. OK, judging by the editing made by deathbane, I said something wrong? From what I underxstood, this guy wanted window B inside of window A, is that not correct? So the pack location should work right? Maybe im understanding it wrong.
Window B is a child page of Window A, correct? If that is not the case, then I apologize for faulty information. If they are infact two seperate pages then, yeah deathbane is obviously right.
If someone can tell my WHY what i said was wrong, instead of simply saying it is, i would appreciate that.
1) Nest the overlayed window inside the underlayed window and just hide/show it as needed. This way it'll move with the parent window.
2) If they must be seperate windows (cause they both use hardcoded data like clock and compass) you'll need to pad the overlayed window with empty space so it's top-left corner position matches the underlayed window.
This limitation results from a few shortcomings in UIBuilder:
A) X, Y and Z values aren't seperate so we can't alter them independently.
B) We can't split those values up.
C) We can't construct the comma seperated values without concatination.
D) There's no "ResizeLoc" atribute that would allow us to move objects via a series of resizes relative to corners other than top-left.
Was attempting to add Spell Effects from the character window to the persona window, but the spell effects data is hard coded to the character window, so I then tried opening the character window "inside" the Persona window. no such luck, now was trying to have the persona window auto open the character window, and have them place the character window on top the persona, to "visually" be one window (see image below)
Thanks for the input, sorry origonal post was a bit vague, but all of your ideas helped clarify the issue of what I needed to do. I have the window working 98% the only thing I dont know how to do is the click thru.
attacked are the two modded files
BTW origonal file credits go to Jaxel for the persona window, and Quib for the Character wndow.
One thing to Note:
in the OnShow line of Persona.... Parent.Character.Location=Parent.Persona.Location
will place the Character window at the currect Location Persona opened at, so if someone MOVES persona the closes and reopens, Character apears in the correct place.
Last edited by diabolist : 05-13-2005 at 09:58 AM.
DC - gave me always on top and additionally the Clickthru syntax.
deathbane - gave idea for larger frame with same Location in both, and clickthru suggestion.
Zonx/Deathbane - for pointing out the limitations of SoE XML and forcing me to think outside the box to come up with Parent.Character.Location=Parent.Persona.Location
Thanks everyone for the help. now that this is done i have new ideas for resolving some of my older issues lol.