Turn on the sharedHilite property of the tabbed button.

You can set the menuHistory to an integer to select the tab

set the menuHistory of button "my_tab" to 2

selects the second tab (and will go to that card).

If you want to dress up the tabs, you can get the same behavior with 
radio buttons in a group, with the added advantage that you can set 
the icon/hilitedIcon of the radio buttons to some images..it hides 
the OS radio button and just displays the image.


-ml


>
>From: Rodney Tamblyn <[EMAIL PROTECTED]>
>Subject: tabbed button question
>Date: Sat, 29 Sep 2001 14:02:16 +1200
>MIME-Version: 1.0
>Content-Type: text/plain; charset="us-ascii"
>References: <[EMAIL PROTECTED]>
>In-Reply-To: <[EMAIL PROTECTED]>
>
>How do you get the tab hilight to be shared when a tabbed button is 
>placed in a stack background on multiple cards?
>
>Experiment:
>
>Make a tabbed button with three tabs
>
>Add a script:
>on menuPick what
>go card what
>end menuPick
>
>Put into a stack background and place on three cards named the same 
>as the tabs.
>
>When you click on the tabs you will jump to the named cards.  The 
>hilighed tab of the button will show whatever tab was last hilighted 
>on this card (rather than the name of the card being displayed) ie 
>the hilighted/selected tab is not shared...
>
>Is there a syntax to select a tab of a tabbed button 
>programmatically? Something along the lines of: select tab/line 
><whatever> of button <button> ?
>
>Rodney
>--
>--
>Rodney Tamblyn
>Educational Media group
>Higher Education Development Centre, 75 Union Place
>University of Otago, PO Box 56, Dunedin, New Zealand
>ph +64 3 479 7580 Fax +64 3 479 8362
>http://hedc.otago.ac.nz ~ http://rodney.weblogs.com
>
>
>--------------- END metacard.v004.n473 ---------------


-- 

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to