selecting tab button from script

Jan Schenkel janschenkel at yahoo.com
Sat Nov 9 14:00:01 EST 2002


--- Mark Swindell <mdswindell at charter.net> wrote:
> What is the proper way to hilite/select a tabbed
> button from a script?  I
> have two nearly identical navigation tabbed button
> sets on two different
> groups, and when I jump groups it goes to the
> correct card but doesn't
> hilite the proper tab upon getting there.
> 
> The "select menuItem x of menu 'buttonName'" doesn't
> seem to work," and I
> can't locate the info in the docs.  Trying to figure
> out how tabbed buttons
> and menus distinguish themselves.
> 
> Thanks
> Mark
> 

Hi Mark,

Try this:
  set the menuHistory of btn 'tabbedBtn' to 2

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



More information about the use-livecode mailing list