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