Newbie: Current card question

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kpeters
Posts: 112
Joined: Wed Mar 21, 2007 9:32 pm

Newbie: Current card question

Post by kpeters » Wed Jun 06, 2007 10:30 pm

I am trying to do this in the menuPick of a tab menu:

Code: Select all

on menuPick whatTab
  close current card
  go to card whatTab
end menuPick
and get this error:

executing at 2:10:24 PM
Type close: can't find stack
Object tabmenu_Mailout
Line close this card

So how do I close the current card?

TIA,
Kai

kpeters
Posts: 112
Joined: Wed Mar 21, 2007 9:32 pm

Post by kpeters » Wed Jun 06, 2007 10:47 pm

Please disregard this question: I just learned that navigating to a new card automatically close the previous one.

Post Reply