Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!cbmvax!higgin From: higgin@cbmvax.cbm.UUCP (Paul Higginbottom) Newsgroups: net.micro.amiga,net.micro.atari16 Subject: Re: Problem with proportional gadget Message-ID: <605@cbmvax.cbmvax.cbm.UUCP> Date: Sat, 9-Aug-86 23:36:34 EDT Article-I.D.: cbmvax.605 Posted: Sat Aug 9 23:36:34 1986 Date-Received: Tue, 12-Aug-86 10:06:24 EDT References: <110@scubed.UUCP> Reply-To: higgin@cbmvax.UUCP (Paul Higginbottom) Organization: Commodore Technology, West Chester, PA Lines: 27 Xref: mnetor net.micro.amiga:4204 net.micro.atari16:1558 In article <110@scubed.UUCP> phil@scubed.UUCP (Phil Cohen) writes: >My program uses a proportional gadget and I am experiencing some >very wierd behaviour. If one clicks in the body of the gadget, all >works as advertized, however, if one clicks and drags the knob, all hell >breaks loose. The gadget image gets replicated outside of the window >that it belongs in and the system quickly crashes. I'm sure it must be >my fault but am at a total loss to see what is wrong. Any ideas? >The gadget is in a subwindow on top of a backdrop window and I am using >version 1.1. Proportionals are tricky things to set up right. I didn't use AUTOKNOB in one I just did on a window that couldn't be sized - I had a feeling the AUTOKNOB was for windows that get sized, because it changes in that case. Anyway, I didn't use that, but you must have an Image and a PropInfo structure filled in properly and their respective addresses assigned in the GadgetRender and SpecialInfo. Also, if you use the method I suggested above, you'll need GAGDIMAGE set. I had the exact same symptoms you report (Images being splattered all over the place for a while before the machine croaks), so don't feel so bad! Hope this helps a little. Paul. Disclaimer: I do not work for Commodore, and my opinions are my own.