To reference something, you work backwards up to the most recent common element using "parent" and then work downwards by name.
For example, if the tree looks like this:
A
-B1
--C1
---LocalText
--C2
-B2
--C3
If you're at C3 and you want to get the LocalText property from C1, you would refer to it as this:
parent.parent.B1.C1.LocalText
The first parent takes you to B2, the second parent takes you to A. A is the lowest-level common page and so you can start going back down the tree by name -- B1 then it's child C1 then it's attribute LocalText.
As for documentation, it's not very new but in your UIBuilder folder you'll find a MSWord file called EQ2_UI_Customization.doc that explains the basics of many of the elements and attributes. You can also search on these forums for some additional information.
Hope that helps =)
|