>> I'm operating under the assumption that to properly use a tabbed button
>> panel, the procedure is to use a "menupick" and then make contained objects
>> or groups visible(true or false), in order to show items on the selected
>> tabbed area. Is this actually the way it's meant to be done?
>
> 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
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