View Single Post
03-01-06, 11:06 PM   #2
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
The button itself looks ok. It should be a transparent button with a "Go!" text. Is it in a <Frames> section?

This isn't the only way but it's a common way:

Code:
<Ui>
  <Script file="MyMod.lua"/>
  <Frame name="MyModFrame" parent="UIParent" etc>
    <Size/>
    <Anchors/>
    <Layers/> <!-- fontstrings and textures -->
    <Frames/> <!-- buttons and controls that receive mouse events -->
    <Scripts/>
  </Frame>
</Ui>
If you do:

<Frame>
<Button/>
<Frames/>
</Frame>

Then it won't see the button.
  Reply With Quote