3rd dropdown tier
I admit I know nothing about dropdown functions. Would like to add a third tier to this code for All, Lookalike, and Recolor as a "check/tick" setting.
Code:
function module.Dropdown(module,tier) |
I can see that this is based on some part of MogIt, so I can help you.. mostly. (I didn't write these things personally) Well there are only a few details that are specific to MogIt, for that matter.
Anyway, what you need to do is add another clause for when "tier == 3", where you create the items of the new submenu. There is some special variable you can use to see which menu was opened, but I can't remember right now. Not sure how you meant it should look, though. You also need to set .hasArrow = true on the level 2 items that should open the level 3 menu, and create those items if not using existing ones. If this doesn't help you need to try to describe better what you want to do, so we can describe better how to do it. |
Here is a pic of what I have so far:
Would like the arrow to allow me to select/tick/check if I want to view "All" or just "Recolor" or just "Lookalike" from the module data. Code:
local function DropdownTier2(self) |
Alright, then you just need to create the level 3 items.
Something like this: Code:
elseif tier == 3 then |
All times are GMT -6. The time now is 08:38 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI