OK, Sorry I wasn't clearer.

The parameters that you have contain the text of the tab (the corresponding
line of the buttons text) not "tab1" for the first tab etc. I am assuming
here that the names of the tabs aren't actually "tab1" and "tab2".

Also just because objects are grouped doesn't mean you *must* refer to them
as btn X of group Y. You shouldn't need to change your script.

So all you need to do is create a group that has the correct objects for
each tab. Name each group to the name of the corresponding tab. Then the
script I sent will work.


> OK, I thought I had it, but it's not working. I am not able to group the
> items that I want to show/hide (too many script references to change from
> "item" to "item of group "groupName""), so my intention was to do them
> individually. They hide, but the don't come back. I *thought* the code was
> simple enough...
>
> on menuPick tabSelect
>   lock screen
>   switch tabSelect
>   case "tab1"
>     set the visible of button "confirmButton" to true
>     set the visible of button "initUploadButton" to true
>     set the visible of button "sepNull1" to true
>     set the visible of button "cancelUpload" to true
>     set the visible of scrollBar "fileProgress1" to true
>   case "tab2"
>     set the visible of button "confirmButton" to false
>     set the visible of button "initUploadButton" to false
>     set the visible of button "sepNull1" to false
>     set the visible of button "cancelUpload" to false
>     set the visible of scrollBar "fileProgress1" to false
>   end switch
> end menuPick
>
> I also don't quite understand... Monte's directions seemed to
> indicate that
> items were grouped with a single tab. I don't understand how
> that's possible
> when a tab is a component of a button object.
>
> --
> Troy
> RPSystems
> www.rpsystems.net
>
>

Reply via email to