Daniel,

if you take a measurement of the ticks when you open the window and store
that in a variable.

closetime = ((the ticks/60)+30)

You can use that variable to close the window using something like this in
the exitframe.

if (the ticks/60) > closetime then
    forget window "windowref"
end if


You may need to check the existence of the window before the if statement to
stop it throwing up errors.

hope this helps

adam

----------------------------------
adam child
limbomedia ltd.

e-mail: [EMAIL PROTECTED]
web: http://www.limbomedia.com


> From: "Dr. Daniel D. Errampalli" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 24 Nov 2000 21:24:11 +0100
> To: <[EMAIL PROTECTED]>
> Subject: <lingo-l> miaw-auto-close
> 
> Hi,
> 
> I need help.
> 
> How can i make a MIAW close on its own after say 30 seconds of time.
> 
> thanks
> daniel
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to