path of a 'closeStackRequest'

Richard Gaskin ambassador at fourthworld.com
Thu Jan 16 14:33:01 EST 2003


Graham Samuel wrote:

> Yes, as an old SuperCard hand I had never noticed that the
> 'openWindow' message for any window would pass to the project script.
> I guess that's because I used a startUp handler for my
> initialisation, and realising that I wouldn't get one in the
> Revolution Development Environment, I switched my initialisation to a
> preOpenStack handler in the mainstack script. However, if one does
> this, it's necessary to check that the target of the handler is the
> actual mainstack, as several people have pointed out. On to the next
> problem...

Or just move initialization to the first card of the mainstack, saving you
the trouble of checking which stack will be affected.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.1: Publish any database on any site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the use-livecode mailing list