Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!usc!apple!well!shf
From: shf@well.UUCP (Stuart H. Ferguson)
Newsgroups: comp.sys.amiga
Subject: Re: Stringadgets and ENDGADGET, how to use it?
Message-ID: <13157@well.UUCP>
Date: 16 Aug 89 07:49:14 GMT
References: <34@me.chalmers.se>
Reply-To: shf@well.UUCP (Stuart H. Ferguson)
Organization: The Blue Planet
Lines: 17

+-- clwa@me.chalmers.se writes:
|   When reading the Intuition manual i got the impression that it would
| be possible to get a gadget to dissapear "automaticly" by using the
| ENDGADGET flag (in kombination with REQGADGET (or simmilar)). [ ... ]
| I have been trying this with a string gadget (a sort of file requester)
| but i have not succeded.  [ ... ]

You have a slight misunderstanding there.  REQGADGET is a flag used to
indicate that a Gadget is part of a Requester (see "Requesters and Alerts,"
Chapter 7, Intuition Reference Manual).  If a Gadget is part of a Requester,
and the ENDGADGET flag is set, then the Requester will automatically go
away when the user completes a transaction with the gadget.  How this works
exactly with string gadgets I'm not sure, but the "Ok" and "Cancel" gadgets
on most Requesters are flagged with ENDGADGET.
-- 
		Stuart Ferguson		(shf@well.UUCP)
		Action by HAVOC		(ferguson@metaphor.com)