1. Hey All, hoping someone can lend me a hand here. :)

    I've been trying to wrap my head around drop down menus for a while now, and it's surprisingly difficult. After following multiple examples and tutorials that don't work, I've hacked together some operable code to get my drop downs working.

    However, I'd like to create the dropdowns in XML, and not clutter up my LUA code with it. The problem I'm noticing right now is that I cannot initialize the dropdowns correctly in XML.

    This does not work correctly (I end up with a blank drop down box that says "Custom" with no options:

     <Button name="QTrack_Main_Cont" parent="QTrack_Main" inherits="UIDropDownMenuTemplate"> 
        <Scripts>
           <OnLoad> UIDropDownMenu_Initialize(QTrack_Main_Filter, QTrack_Main_Filter_initialize)</OnLoad>
         </Scripts>
     </Button>
    

    However, this works fine in LUA, when placed in the drop down's parent frame onload function. UIDropDownMenuInitialize(QTrackMainFilter, QTrackMainFilterinitialize)

    Hopefully I'm just missing something simple, anybody have any idea what's up?

  2. Not sure what's up with the forum post parsing there...

  3. http://www.wowinterface.com/forums/showthread.php?p=257366#post257366