Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-08-08, 01:27 PM   #1
-Glenn-
A Defias Bandit
Join Date: Sep 2008
Posts: 3
Send selected option to chat

Hello,

I'm trying to make a simple addon for WoW, but I'm a bit stuck at the moment. I will keep it simple

I have a dropdown menu with the following options:
Option 1
Option 2
Option 3

Below that is a button: Send to Chat.


If Option 1 is selected, option 1 has to be sent to the chat box. I know the command for that. But how can I get the selected option usable for further using?

I tried the getglobal command, but that is not working:
Code:
chattext = getglobal("RaidHelperForm".."ComboBox1".."Label");
SendChatMessage("..."..chattext.."...", "SAY", this.language);
Can anyone help me with this?


Thank you,

Glenn
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Send selected option to chat


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