Tab Menus

Jan Schenkel janschenkel at
Wed Oct 9 00:53:01 EDT 2002

--- Bailey Kessing <bailey at> wrote:
> I am a recent converter to Revolution from SuperCard
> so pardon my ignorance.
> I am trying to use the Tab menu to present various
> options to users. I feel
> completely stupid but after creating a tab menu on a
> card I am at a loss to
> figure out how to use it. I can¹t figure out how to
> use it either to
> ³navigate² or show cards, info or what ever. I would
> greatly appreciate
> pointers. 
> Bailey Kessing

Hi Bailey,

Just thought I'd add a little thing to the answers by
Ken and Jeanne.
If you want to make your stack multi-lingual at some
point in the future, it might be more interesting to
find out which button is pressed: the first, second,
In such cases, the following piece of code comes in
  on menuPick pNewItem
    put return & (the text of me) & return into \
    put return & pNewItem & return into tNewItem
    go card lineOffset(tNewItem, tText)
  end menuPick
The whole trick with prepending and appending returns
is to ensure that if you have two items "History B"
and "History" it still picks the correct line.

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!?
Faith Hill - Exclusive Performances, Videos & More

More information about the use-livecode mailing list