- Registered User
Member for 11 years, 9 months, and 13 days
Last active Tue, Sep, 30 2008 14:06:02
- 0 Followers
- 5 Total Posts
- 0 Thanks
Apr 25, 2008Ok, that makes sense. Similar to class methods in OOP. How would you manually pop the select if you had to manipulate info before displaying and did not want to create a tmp table or the like. Would you use an array? I am new to LUA and I have not checked to see if there is a key-value array syntax.Posted in: Lua Code Discussion
Thanks for the info. I will now have to rethink my table layout to support this.
Apr 25, 2008I am trying to understand how the select works in this library so I can populate a dropdown and call a method when the user changes the value in the dropdown. With that being said, can anyone answer these questions:Posted in: Lua Code Discussion
values- If I put in a location in my table such as "...position.args" is the select box populate with all the values subordinate to args and it will return the key of the selected value when the user changes what is selected?
Using the above, the dropdown would have value1, value2, value3 in the list, and when one is selected, it would return a 1, 2, or 3.
Am I correct in this understanding? If so, what happens if there are no args? Will the dropdown remain blank and no errors generated, or does there have to be at least 1 arg even if it is a dummy one?
get- What are we "getting"? If we use a location of a table to populate the dropdown, I would assume that that was the "get"
set- Is this a function that is called whenever the selections changes?
I think if someone can explain this well, I would better understand the methodology behind the ACE libraries.
Apr 24, 2008I am new to addon development and the ACE framework. I have been looking at the example information and various ACE3 addons and I have a question about registering the options table.Posted in: Ace3
I have seen these two different statements in different addons/examples.
Are both of these correct, and if so when should one be used over the other?
- To post a comment, please login or register a new account.