Tab Buttons

Terence Heaford t.heaford at btinternet.com
Thu Mar 6 16:32:44 EST 2014


Thanks Mark,

Found menuHistory just before your post.

A strange property name.

All the best

Terry


On 6 Mar 2014, at 21:17, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:

> 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
>> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list