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