Path: csiph.com!news.samoylyk.net!aioe.org!7CNMhlow8d6xK5zE96cxRg.user.46.165.242.75.POSTED!not-for-mail From: Christopher Self Newsgroups: comp.sys.acorn.programmer Subject: Re: dragging a text icon by its outline Date: Sun, 07 Aug 2022 21:37:43 +0100 Organization: None Message-ID: <5a1466ed4ecself@btinternet.com> References: <5a124fe1d2cself@btinternet.com> Injection-Info: gioia.aioe.org; logging-data="28134"; posting-host="7CNMhlow8d6xK5zE96cxRg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Pluto/3.18 (RISC OS/5.29) NewsHound/v1.52-32 X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com comp.sys.acorn.programmer:6411 This is now almost working: block!8 = minx% - (scrollx% - icminx%) block!12 = maxy% - (scrolly% - icminy%) block!16 = minx% - (scrollx% - icmaxx%) block!20 = maxy% - (scrolly% - icmaxy%) But it doesn't cope with an undersize window, and I still don't understand it. -- Christopher Self