gonna try it out.
dropmenu:SetSelectedItem(BAM.defaultBagGetFunc(itemType))
user:/AddOns/BagsAndMore/BagsAndMore.lua:93: function expected instead of nil
Param should be "Bank" which is in the list of options.
no method with that name on dropmenu?
Which looks strange compared to the LAM code which uses that method
dropdown:SetHandler("OnShow", function() dropmenu:SetSelectedItem(getFunc()) end)
another think which bothers me - is this the right way to refresh the Dropbox e.g. repaint it with new text and values.
ZO_OptionsWindow_InitializeControl(dropdown)
or which would be the prefered way to repaint an Option?
thx
TheBelgarion
Last edited by TheBelgarion : 04/23/14 at 12:35 PM.
|