On Wednesday, Oct 6 1999, Peter Reid wrote:

> Hi MetaCarders
> 
> I'm new to MetaCard (but not to Super/HyperCard & ToolBook), so the
> following question might be obvious!
>
> I'd like to be able to select the tab of a tabbed button under script
> control.  For example, I might like to ensure that a particular tab
> is seen when the user opens the card with the tabbed button on it.
> Also, I might want to prevent access to certain tabs depending on the
> state or access permissions.  I can't find any way to set the active
> tab within a script.  Any ideas please?

set the menuHistory of btn "tabbed button" to 1

That will even send the appropriate menuPick message.

Regards,

Kevin

> Cheers
>
> Peter
> --------------------------------------------------------
> Peter Reid
> Reid-IT Limited, Loughborough, Leics., UK
> Tel: +44 (0)1509 268843 Fax: +44 (0)1509 264986
> E-mail: [EMAIL PROTECTED]
> Web: http://www.reidit.co.uk

Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.

Reply via email to