home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 18058 < prev    next >
Encoding:
Internet Message Format  |  1993-01-02  |  980 b 

  1. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!terapin!robertm
  2. From: robertm@terapin.com (Robert Michaels)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Help with changing gadtools gad info
  5. Message-ID: <robertm.323u@terapin.com>
  6. Date: 2 Jan 93 17:35:23 PST
  7. Organization: BBS
  8. Lines: 9
  9.  
  10. Does anyone know of a legal way to alter the text in a gadtools BOOLTYPE gadget
  11. without closing the window and reopening it.  If it were a regular Intuition
  12. gadget I would first Remove it, then change the pointer to the string in the
  13. .IntuiText field, then re-add it and RefreshGList.  But this would probably be
  14. illegal with a gadtools gadget and there appears to be no legal way to
  15. accomplish this without closing and reopening the window which is really not
  16. possible in the application I am writing.  Also if I did do the above illegal
  17. operation, gadtools would be fouled up when closed the window an it tried to
  18. free the IntuiText structure it had originally created.
  19.