Tabs

David Kwinter david at kwinter.ca
Sun Jan 2 17:04:18 CST 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 ecs.fullerton.edu>
To: "docmann" <docmann at gmail.com>; "How to use Revolution" 
<use-revolution at lists.runrev.com>
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