David Kwinter david at
Sun Jan 2 18:04:18 EST 2005

You could also use the menuPick handler

on menuPick m
    if m="Tab1" then
        hide group "tab2"
        show group "tab1"
    else if m="Tab2" then
        hide group "tab1"
        show group "tab2"
    end if
end menuPick

----- Original Message ----- 
From: "Judy Perry" <jperryl at>
To: "docmann" <docmann at>; "How to use Revolution" 
<use-revolution at>
Sent: Sunday, January 02, 2005 1:01 PM
Subject: Re: Tabs

> on mouseUp -- of the tabbed button set
>  if the selectedText of me is "Tab1" then --checks for active tab
>    hide image|field "myImageName"|"myFieldName" --hides unwanted stuff
>    show image|field "myImageName"|"myFieldName" --shows wanted stuff
>  end if
>  --... repeat until you've checked for all tabs
> end mouseUp

More information about the Use-livecode mailing list