home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7520 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  900 b 

  1. Path: pravda.aa.msen.com!not-for-mail
  2. From: crandall@mail.msen.com (Chad Randall)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Deleting Gadtools gads
  5. Date: 18 Apr 1996 05:37:47 GMT
  6. Organization: Msen, Inc. -- Ann Arbor, MI.
  7. Message-ID: <4l4kfb$7c8@pravda.aa.msen.com>
  8. References: <4l2v15$p58@mercury.dur.ac.uk>
  9. NNTP-Posting-Host: conch.aa.msen.com
  10. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  11.  
  12. M D Sergeant (M.D.Sergeant@durham.ac.uk) wrote:
  13. : How do I delete a gadtools gad from a window, I have tried alsorts, but all I
  14. : get is the gadget becomes just an image, and clicking does nothing. If I resize
  15. : the window to really small and then enlarge it it goes away. At the moment I
  16. : call gfx.library:EraseRect(); to get rid of it - surely this is wrong?
  17.  
  18. Nope.  You are right.  The only way to *visually* erase the gadget is to eraserect()
  19. it.  This is true for most (if not all?) gadgets.
  20.