Originally Posted by Gimbli
If I'm not mistaken, the args of a group like that need to be independent and not lumped together like what you have.
|
I'm not sure if I understand you corretly... What you mean by "independant" ? The arguments there are independent option arrays - they are just generated via calls to the function "optionRange", which returns the needed array.
Its the same, as I'll write it like this:
args = {
range1 = { name = xxx, desc = yyy, order = zzz... },
range2 = { name = xxx, desc = yyy, order = zzz... },
...
}
The functions I use to minimize same code rewriting and get options definition:
local function optionRange( fudgeOrder, fudgeName )
return
{
name = fudgeName,
order = fudgeOrder,
...
}
end
ps. I've seen the samples/tutorials of using the ace3 and my way to generate options array seem to return correct hierarchy of nested objects.
Anyways, it works absolutely fine in EVERY other situations, except "tabs". And even there - it works fine most of the time, but eventually "tab1" being "stuck" and dont respond to mouse (no highlight etc).