Quote from egingellWhy do you care? I'm not being rude, I'm just curious.
part revenge...part insurance
Quote from DridztYou said "click" in OP not "scroll" :p
<OnMouseWheel> is the relevant script handler with self, delta as args.
(delta > 0 for UP, delta < 0 for DOWN)
You may need frame:EnableMouseWheel(true) first.
Quote from XinhuanThis might beg the question.... shouldn't then AceGUI by default internally Pause and Resume when constructing a layout?
Quote from FarmbuyerIf you're repeatedly calling :AddChild() then yes it is, by default. The resulting loop is what my undergrad TA used to call "big-Oh of oh-shit".
If you call :AddChildren() and toss them all in at once, then the layout is only done a single time after they're all added. Using AddChildren isn't always feasible or readable, so the Pause/Resume/Do is another option. And like Nev says, most of these GUIs aren't the kind of thing that will be getting constantly redrawn, so optimization is usually not worth it (cf. Knuth).
Quote from FarmbuyerIf you know you're going to be doing a ton of widget creation/manipulation, try calling :PauseLayout() on the container object at the start, and then ResumeLayout() + DoLayout() when it's all over.
Quote from XinhuanTry calling SetSendMailShowing(true) before the SendMail(). That's one of the functions that get called when you click on tab 2.
Clicking on tab 1 calls SetSendMailShowing(false).