Creating & Using Tabs tutorial
Sarah Reichelt
sarahr at genesearch.com.au
Thu Apr 14 00:08:02 EDT 2005
Hi Judy,
Good tutorial and the PDF is a neat touch and very well put together.
However I suggest you have a look at the "menuPick" message which makes
handling tabs much easier.
When using one card per tab, here is the script I use:
on menuPick pCardName
go to card pCardName
end menuPick
For tabs where you are hiding and showing groups, it is made easy by
the fact that for tabbed buttons, the menuPick has 2 parameters: the
tab just chosen and the tab previously chosen, so you cna use this:
on menuPick pNewGroup, pOldGroup
hide group pOldGroup
show group pNewGroup
end menuPick
Cheers,
Sarah
More information about the use-livecode
mailing list