Is it possible to script the choice of a tab in a tabbed button
Shao Sean
shaosean at wehostmacs.com
Thu Nov 23 12:38:29 EST 2006
Look at the "menuHistory" dictionary term.
on preOpenCard
set the menuHistory of btn "tabs" to 1
end preOpenCard
btn "tabs" -- replace that with the actual name of your tab buttons
1 -- replace that with the actual number of the tab (in the Property
Inspector the line number of the text equals the menuHistory)
( red | green | blue ) <-- really bad Mac OS X tabs ;-)
red = set the menuHistory to 1
green = set the menuHistory to 2
blue = set the menuHistory to 3
More information about the use-livecode
mailing list