home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15685 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.8 KB

  1. Path: sparky!uunet!pmafire!news.dell.com!swrinde!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!rutgers!cbmvax!cbmehq!cbmnl!ecl016!chron
  2. From: chron@ecl016.adsp.sub.org (Christian en Ron)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Semi-novice programming questions
  5. Message-ID: <chron.008e@ecl016.adsp.sub.org>
  6. Date: 9 Nov 92 03:01:12 GMT
  7. References: <1992Oct29.212502.1948@digibd.com>
  8. Organization: Heijmans & Joosen
  9. Lines: 27
  10.  
  11. In article <1992Oct29.212502.1948@digibd.com> steve@digibd.com (Steve Wahl) writes:
  12.  
  13. >However, I'm concerned that the GadgetRender and SelectRender fields
  14. >might be one of those things that can cause trouble when you change
  15. >them behind the system's back.  Is that so?  If so, what *should* I be
  16. >doing to change the images that a gadget uses?
  17.  
  18. The best thing to do is:
  19.  
  20.  - Remove the gadget with RemoveGadget(window,gadget)
  21.  - let GadgetRender and SelectRender point to your new images
  22.  - Add the gadget with AddGadget(window,gadget,position)
  23.  
  24. --
  25.  _____________________________________________________________
  26. |                                                             |
  27. | We go to the moon and do the other things,                  |
  28. | Not because they are easy but because they are hard.        |
  29. |                     Moonlanding speech J.F. Kenedy          |
  30. |_____________________________________________________________|
  31. |                                                             | 
  32. |    Christian Joosen,                                        |
  33. |    Heijmans & Joosen                                        |
  34. |    chron@ecl016.adsp.sub.org                                |
  35. |                                                             |
  36. |    etmrhey@young.ericsson.se                                |
  37. |_____________________________________________________________|
  38.