Chapter 10: Page 172 - 'Understanding Templates'
In the definition for Button2 in the second code example, under the text "Using frame templates, you could instead write the following", the anchor point is set relative to Button2
. This should instead be Button1
. The line of code should read:
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Button1" />