Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!mcvax!ukc!etive!lfcs!nick From: nick@lfcs.ed.ac.uk (Nick Rothwell) Newsgroups: comp.sys.mac.programmer Subject: Re: Rectangles in DITL's Message-ID: <2397@etive.ed.ac.uk> Date: 19 Jun 89 15:59:53 GMT References: <2354@etive.ed.ac.uk> <1586@munnari.oz.au> Sender: news@etive.ed.ac.uk Reply-To: nick@lfcs.ed.ac.uk (Nick Rothwell) Organization: LFCS Enya Admiration Society Lines: 26 In-reply-to: jkjl@murtoa.cs.mu.oz (John Keong-Jin Lim) In article <1586@munnari.oz.au>, jkjl@murtoa (John Keong-Jin Lim) writes: >The difference between the CNTL rect and the DITL rect is that >the CNTL rect is the dimensions of the control. The DITL rect is >the rectangle that the CNTL rect is mapped onto. > >Thus if the CNTL rect is {0,0,20,20} and the DITL rect is >{10,10,50,50} the control now appears 4 times (2x2) larger >than normal and offset by {10,10}. I tried that, I think, and found it didn't work - the control would appear somewhere strange. I now make them *both the same*, for example, {0, 100, 50, 150}, and this seems to work - the control appears at (0, 100), (50, 150). > john > >ps : thanks for the $$, nick. Ok. - I wonder if you can cash it? Nick. -- Nick Rothwell, Laboratory for Foundations of Computer Science, Edinburgh. nick@lfcs.ed.ac.uk !mcvax!ukc!lfcs!nick ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ Fais que ton reve soit plus long que la nuit.