Path: utzoo!attcan!uunet!lll-winken!ames!xanth!nic.MR.NET!umn-d-ub!rutgers!cbmvax!jesup From: jesup@cbmvax.UUCP (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: Ask Mr. Intuition (RELVERIFY woes) Keywords: Intuition gadgets RELVERIFY GADGETUP frustrated Message-ID: <5718@cbmvax.UUCP> Date: 18 Jan 89 04:43:46 GMT References: Reply-To: jesup@cbmvax.UUCP (Randell Jesup) Organization: Commodore Technology, West Chester, PA Lines: 29 In article kevin@uts.amdahl.com (Kevin Clague) writes: >[ I'm a line-eater and I'm O.K., I eat mail at night and I sleep all day ] > >I'm having problems getting potentiometer gadgets to work the way I >would like. Intuition provides GADGIMMEDIATE flags for GADGETDOWN >IDCMP events, FOLLOWMOUSE flag for MOUSEMOVE events, and >RELVERIFY for GADGETUP events. The problem I have is that >RELVERIFY gadgets only provide GADGETUP events if the mouse is >over the gadget at the time of left mouse button release. >I would like to have a gadget flag that guarantees GADGETUP events >if you get a GADGETDOWN event. Well, it doesn't exist at present. You could turn on Intuiticks when you get the gadgetdown, and look at the mousebutton qualifiers (I believe they are valid). Don't forget to turn them off when done. >I have an operation I would like to do everytime the user uses a >particular potentiometer gadget. The operation is too time consuming >to do as the potentiometer is sliding, so I'd like to defer the >operation until the user let's go of the potentiometer gadget. >The results of the operation depend on the value of the slider >at the time of it's release. Prop gadgets appear to produce gadgetups with relverify, even if the mouse is off the gadget. Relverify really only applies to boolean gadgets (in terms of the verify function). Maybe jimm will expand on this. -- Randell Jesup, Commodore Engineering {uunet|rutgers|allegra}!cbmvax!jesup