home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12240 < prev    next >
Encoding:
Text File  |  1992-08-12  |  2.2 KB  |  46 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!psgrain!qiclab!cabezon!darrinm
  3. From: darrinm@cabezon.uucp (Darrin Mossor)
  4. Subject: Gadtools Question
  5. Message-ID: <1992Aug12.173302.29788@cabezon.uucp>
  6. Organization: Logic Modelling Corporation of Beaverton Oregon
  7. Date: Wed, 12 Aug 1992 17:33:02 GMT
  8. Lines: 36
  9.  
  10.   Here's a question for all you GadTool/Gadget Programmers.  I'm working
  11. through my new RKM for Libraries reading about GadTool Gadgets and I got to
  12. thinking about how they did the Time Preferences.  For those of you who
  13. haven't looked at it recently, it includes a cycle gadget of the months and
  14. as you advance the months or change the year, the calendar, made up of the
  15. appropriate number of Mutually Exclusive Boolean Gadgets rearranges itself
  16. and days are added or subtracted as necessary.
  17.   At first I assumed this had been done with GadTool Gadgets (because of
  18. look and feel), but on page 411 of the RKM (Libraries) under "Restrictions
  19. on Gadtools Gadgets" it states: "Gadtools may not be selectively added or
  20. removed from a window."
  21.   So the question.  Did Commodore
  22.     a) Use some unstated method of moving and adding/removing GadTool 
  23.         Gadgets from the window?
  24.     b) Use regular gadget that they caused to look and feel like GadTool
  25.         Gadgets and then use AddGList/RemoveGList to alter the calendar?
  26.     c) Violate their own RKM's?
  27.     -or-
  28.     d) Am I missing something obvious that I should be embarrassed about?
  29.  
  30.   I'm asking because I'm working on an Application that requires similar
  31. behavior and I would like to do it with GadTools because they are _so_
  32. much easier to use, but I don't know how to do it.
  33.   Help!
  34.  
  35.     -Darrin Mossor
  36.  
  37. /* ---------------------------------------------------------------------- */
  38.   Darrin Mossor          | "Clothes make the man.  Naked people have little
  39.   Logic Modeling         |  or no influence on society." -- Mark Twain
  40.   darrinm@lmc.com -or- !sequent!lauto!darrinm
  41. -- 
  42. /* ---------------------------------------------------------------------- */
  43.   Darrin Mossor          | "Clothes make the man.  Naked people have little
  44.   Logic Automation       |  or no influence on society." -- Mark Twain
  45. ...!mntgfx!lauto!darrinm |         #include <stddisclaimer.h>
  46.