Firels as containers
ms1 at soas.ac.uk
Wed Apr 2 11:44:24 CEST 2014
---------- Forwarded message ----------
From: "J. Landman Gay" <jacque at hyperactivesw.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Date: Tue, 01 Apr 2014 21:47:13 -0500
Subject: Re: Fiels as containers
On 4/1/14, 5:10 PM, Muaadh Salih wrote:
> In a simple stack of five crads I put a field "aaa" to store the number of
> last card students were in last time to retruen to it when reopining the
> stack next.
> I put in card script
> on closestack
> put the number of this card into card field "aaa" of card 1
> end closestack
> and in the stack script
> on Openstack
> go to card ( card field "aaa" of card 1)
> end Openstack
> This works fine as long as (I) do not quit livecode .
> if I colse ,quit and then click on the saved stack it goes to card one !
> always ( livecode 6.6, 6.7, 7 and run rev 4.5)
> What went wrong please ?!
Try changing the openStack handler to a preOpenCard handler on card 1.
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Thanks Jacqueline .
It Does not work either .
What I can not undrstand is why it DOES work when :
1- save the stack scripte
3- open stack (from file menu without quiting LC )
while it DOES NOT ( always goes to card one) when:
1- Save the stack scripte
3- Quit LC
4-Double click on stack stack (from file menu without quiting live code )
All the best
Principal Teaching Fellow
Arabic Project Coordinator
Fellow of the Teaching & Learning Academy in Higher Education
Department of the Languages and Cultures of the Near and Middle East
Faculty of Languages and Cultures
School of Oriental and African Studies (SOAS)
Tel : +442078984354
More information about the use-livecode