Tab Buttons
Mark Schonewille
m.schonewille at economy-x-talk.com
Thu Mar 6 16:17:13 EST 2014
Hi Terence,
There are several ways to do this, e.g.
select line (the number of this cd) of btn "My Tab Button"
or
set the menuHistory of btn "My Tab Button" to the number of this cd
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
colour spaces. http://www.color-converter.com
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 3/6/2014 22:01, Terence Heaford wrote:
> A silly question.
>
> If you go to a cd with a tab button
>
> tab 1 = cd 1
> tab 2 = cd 2
> tab 3 = cd 3
>
> cd 4 = does not have a tab button
>
> and tab 2 was hilited with cd 2 showing and you then went to cd 4
>
> If you now go to cd 1 from cd 4 (does not have a tab button)
>
> how do you hilite tab 1?
>
> Is there someway to set it via script.
>
> something like
>
> set the selectedTab of btn “my tab button” to 1
>
> Thanks
>
> Terry
>
More information about the use-livecode
mailing list