closeStackRequest Issue

Dave Cope dave at b-i-s.org
Thu Jan 22 04:38:13 EST 2004


On Wednesday 21 Jan 2004 5:00 pm, FlexibleLearning at aol.com wrote:
> Dave:

> closeStackRequest is triggered when the closeBox is clicked, so you need to 
> trap both events...
> 
> on closeStack
>   checkSave
> end closeStack
> 
> on closeStackRequest
>   checkSave
>   pass closeStackRequest
> end closeStackRequest
> 
> on checkSave
>   ... do your stuff here
> end checkSave

Thanks for the code. I had sort of arrived at this, but your checkSave is my 
PendingEdits handler. I'm going to try your code as I've not seen the syntax 
of just naming the handler with out a send or call in front.

Kind Regards,
-- 
Dave Cope, Data & Systems Admin.

Biodiversity Information Service for Powys and Brecon Beacons National Park.
Gwasanaeth Gwybodaeth Fioamrywiaeth Powys A Pharc Cenedlaethol Bannau 
Brycheiniog.

EMail: dave at b-i-s.org
Web: http://www.b-i-s.org



More information about the use-livecode mailing list