From: Shawn Frederick Grant
Subject: CAPI panes
Date: 
Message-ID: <511ujg$88u@tribune.usask.ca>
How do you go about destroying a pane once a button is pushed or after
a certain amount of time?

Thanks

--





-------------------------------------------------
Shawn Grant
University of Saskatchewan
-------------------------------------------------
If you ever reach total enlightenment while you're drinking a beer, I bet
it makes beer shoot out your nose.

		-Jack Handey, Deep Thoughts
-------------------------------------------------
From: Andy Brezing
Subject: Re: CAPI panes
Date: 
Message-ID: <3235213D.167E@gia.rwth-aachen.de>
Shawn Frederick Grant wrote:

HI
 
> How do you go about destroying a pane once a button is pushed or after
> a certain amount of time?

I suppose you're useing Harlequin LW!

If so, then try this e.g.

...


(WHEN (CAPI:confirm-yes-or-no "Quit ?")
	(quit-interface instance-of-the-interface))

;;or

(WHEN (CAPI:confirm-yes-or-no "Destroy ?")
	(destroy instance-of-the-interface))

Cheers

Andy