> You've got it. Here's an example:
>
> on menuPick theCurrentTab
>   lock screen
>   repeat for each line thisTab in me
>     hide group (thisTab)
>   end repeat
>   show group (theCurrentTab)
>   unlock screen
> end menuPick
>

It's even easier than that. Scott built in an extra parameter for menuPick
on tabbed buttons. Try:

on menuPick pNewTab,pOldTab
  lock screen
  hide group pOldTab
  show group pNewTab
end menuPick

Reply via email to