Detect ResizeStack completion?

depstein at att.net depstein at att.net
Mon Oct 28 12:54:01 EST 2002


Has anyone found a good way to detect the COMPLETION of a stack's resizing?  
The resizeStack message gets sent continuously while the stack is being 
resized, and I want to know when the user has finished resizing by releasing 
the mouse.  An approach using "the mouse" works ok on my Mac OS9:

on resizeStack w,h
  if the mouse is up then doComplexThings
  -- only happens when user releases mouse at
  -- end of resizing

But this does not work on Windows; and Metacard Help advises never using "the 
mouse" in this way.  What is the best alternative?  

Many thanks.

David Epstein
> Send metacard mailing list submissions to
> 	metacard at lists.runrev.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.runrev.com/mailman/listinfo/metacard
> or, via email, send a message with subject or body 'help' to
> 	metacard-request at lists.runrev.com
> 
> You can reach the person managing the list at
> 	metacard-admin at lists.runrev.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of metacard digest..."
> 
> 
> This is the Metacard mailing list.
> 
> Today's Topics:
> 
>    1. Invalid socket connect timeout? (RCS)
>    2. Converting dates to Padded SQL format (Sannyasin Sivakatirswami)
>    3. Re: Invalid socket connect timeout? (Pierre Sahores)
> 
> --__--__--
> 
> Message: 1
> From: "RCS" <rcs at rcsprogramming.com>
> To: <metacard at lists.runrev.com>
> Subject: Invalid socket connect timeout?
> Date: Sun, 27 Oct 2002 10:36:49 -0800
> Reply-To: metacard at lists.runrev.com
> 
>   Is there a way to set the time that the internal MetaCard engine takes to
> 'try' to open a socket? I have found that if a socket is not valid (or the
> host is not on the network) MetaCard will try to connect for up to one
> minute until it returns a socketError...is this normal?
> 
> Thanks,
> JR
> 
> 
> --__--__--
> 
> Message: 2
> Date: Sun, 27 Oct 2002 08:49:46 -1000
> Subject: Converting dates to Padded SQL format
> Cc: metacard at lists.runrev.com
> To: use-revolution at lists.runrev.com
> From: Sannyasin Sivakatirswami <katir at hindu.org>
> Reply-To: metacard at lists.runrev.com
> 
> What is the most direct way to get from the long date (minus the day) 
> to the fully padded RPT scripting language SQL format.
> 
> We want  to convert
> 
> April 15, 1998
> 
> into
> 
> 04/15/1998
> 
> This doesn't seem doable in a single convert operation in xTalk
> I an need to compare records in a text database with a postGre
> Sql data base records where the date field in one is
> 
> text record field: April 4, 2001
> 
> and the other is
> 
> SQL field: 04/04/2001
> 
> Of course I can write a function to parse the long date and build the 
> SQL formatted padded date with the long year... but, was hoping there 
> was as more direct function. i don't see the long date return edin any 
> numeric date format....could be missing something.
> 
> Thanks
> 
> Himalayan Academy Publications
> Sannyasin Sivakatirswami
> Editor's Assistant/Production Manager
> katir at hindu.org
> www.HinduismToday.com, www.HimalayanAcademy.com,
> www.Gurudeva.org, www.hindu.org
> 
> 
> --__--__--
> 
> Message: 3
> Date: Mon, 28 Oct 2002 00:17:30 +0100
> From: Pierre Sahores <psahores at easynet.fr>
> To: metacard at lists.runrev.com
> Subject: Re: Invalid socket connect timeout?
> Reply-To: metacard at lists.runrev.com
> 
> RCS a écrit :
> > 
> >   Is there a way to set the time that the internal MetaCard engine takes to
> > 'try' to open a socket? I have found that if a socket is not valid (or the
> > host is not on the network) MetaCard will try to connect for up to one
> > minute until it returns a socketError...is this normal?
> > 
> > Thanks,
> > JR
> > 
> > _______________________________________________
> > metacard mailing list
> > metacard at lists.runrev.com
> > http://lists.runrev.com/mailman/listinfo/metacard
> 
> Try >> set the socketTimeoutInterval to "10"
> -- 
> Cordialement, Pierre Sahores
> 
> Inspection académique de Seine-Saint-Denis.
> Applications et bases de données WEB et VPN
> Qualifier et produire l'avantage compétitif
> 
> 
> --__--__--
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
> 
> 
> End of metacard Digest



More information about the metacard mailing list