I'll take a stab at this, if you'll promise to upgrade to 1.4 ;-)
> 1) I need to specify a container to use the push and pop funktionality.
> Using only push and pop without a container specified works fine (to show
> the last visited card), but i need a second, where i can push all visited
> cards and pop all cards in reverse order.
> a) How do i spoecify a container to use push and pop?
You might be able to do this with "the recentNames" and "go back". If
you need to do some other processing, how about just putting the card
id into a variable?
on openCard
global history
put the long id of this card & return after history
end openCard
on goback
global history
if history is not empty then
go the last line of history
delete the last line of history
end if
end goback
> b) How do i ask, if the container is empty before executing pop?
See above.
> 2) I used radiobuttons to activate an envent wich shows an other card.
> After going back to the card with the radiobuttons shows that the
> radiobutton is still pressed. Activating an other radiobutton shows both
> radiobuttons pressed down. In the construction-mode (building the stack
> with MetaCard) the radiobuttons were not shown to be selected.
> How can i deselect a radiobutton?
You can do something like 'set the hilite of button "whatever" to
false', but you shouldn't need to do this. Be sure you've got the
sharedHilite property of the buttons set to true and the radioBehavior
of the group they're in set to true. Take apart the "Components"
stack or one of the other stack that have these controls in them to
see how it's done.
> 3) Is it possible to open a MetaCard stack on a special card, not on the
> first one? For example using a parameter ("Stackname Cardname") in the unix
> shell and the parameter is the name of the card.
> How does this work?
How about:
on preOpenStack
if there is a card $1 then go to card $1
end preOpenStack
You would then start up your stack from the command line like, where
cardname is the name of the card you want to go to:
SunOS_[219] mystack cardname
> Thanks for all help
>
> =46rank
>
> =46rank Bachmann, Email: bachmann@gmd.de
> Gesellschaft f=FCr Mathematik und Datenverarbeitung mbH (GMD)
> German National Research Center for Computer Science
> =46orschungsbereich Mensch-Maschine-Kommunikation (MMK)
> Schloss Birlinghoven, Postfach 1316, D-53731 St.Augustin
>
>
>
-- *********************************************************************** * Scott Raney 303-447-3936 Remember: the better you look, * * raney@metacard.com the more you'll see -- Lidia * ***********************************************************************