Thread Tools Display Modes
10-02-06, 05:57 AM   #1
kettch
A Defias Bandit
Join Date: Oct 2006
Posts: 3
Problem a UIDropDownMenu

Hi !

I started using drop down menus last week end, and managed to initialize them, populate them with data, mana selection in them, and so on... Yet there's an annoying thing that I couldn't solve : when first displayed (not opened, just the button of the drop down) only displays its selected value if this value is the last in the list.
Here's an example :
I have the following data (in the given order) in my drop down menu : {Data1, Data2, Data3}. If I set Data1 as the selected value, it is not displayed correctly unless I select it in the drop down. If I set Data3 as the selected value, it's now displayed correctly. This problem disappears as soon as I select a value in the interface, and not programmaticaly.

I don't have the exact code here with me, but I'll be able to post it in a few hours if you wish to see it.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Problem a UIDropDownMenu


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off