Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!iuvax!ndmath!nj From: nj@ndmath.UUCP (Narciso Jaramillo) Newsgroups: comp.sys.amiga Subject: Re: Enhanced gadgets -- how to handle them. Message-ID: <288@ndmath.UUCP> Date: Fri, 18-Sep-87 10:46:14 EDT Article-I.D.: ndmath.288 Posted: Fri Sep 18 10:46:14 1987 Date-Received: Sun, 20-Sep-87 03:17:14 EDT References: <770@sugar.UUCP> Organization: Math. Dept., Univ. of Notre Dame Lines: 31 In article <770@sugar.UUCP>, peter@sugar.UUCP (Peter da Silva) says: > > 5) What other xgadgets do you think would be handy? A set > of mutually exclusive gadgets? A pop-up? An n-way > selector? An improved string gadget (multiline, for > example)? > How about movable (i.e. Workbench-icon-like) gadgets? I've been toying with the idea of writing some for a program I've been thinking about (I'm basically a novice to Amiga programming, unless you count slow recursive-move reversi programs :-))...people have been suggesting using BObs for this purpose. I thought they already had mutually exclusive gadgets?...I guess not. Assuming they don't have, is there any other way to do the following sort of thing: hit one and "select" it, then hit another, selecting the second and deselecting the first. I guess that's mutual exclusion, isn't it. Or another thing: have a movable gadget and then an array of boxes, each of which is a gadget, so the user can 1) move the pointer over the movable icon, 2) press down the button, causing the box around the icon to highlight in some way, 3) drag the mouse, and as the mouse moves over different box gadgets, cause each of them to be selected (and the previous box deselected) in turn, 4) release the button, causing the icon to center itself in the current box, leaving the box so selected highlighted. Does that make sense? (Not, I might add, that I think it would have any practical application. It would just look good. :-)) There's probably an obvious way of doing this I'm not thinking about...