Peter, Do you mean the scroll position of the field or the stack (I'm not sure a stack can have a scroll position)? Probably something like this:
on resizeStack put the vScroll of fld x into myScroll send "restoreScroll myScroll" to me in 0 millisecs pass resizeStack end resizeStack on restoreScroll theScroll set the vScroll of fld x to theScroll end restoreScroll -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 29 August until 4 September 2012. On 21 aug 2012, at 03:13, Peter Haworth wrote: > I'm using the Geometry Manager to manage the resiang of a scrolling list > field when its stack is resized. I know, I know, using the Geometry > Manager is my first problem but that's the way it is right now! > > If I select a line in the scrolling list field, scroll down so the selected > line is out of sight, then resize the stack horizontally or vertically, the > scroll position of the stack is changed so that the selected line is shown > at the top of the stack. Happens whether liveResize is true or false but > only when the resize is finished. > > I'd much rather that didn't happen. Is there some property that will > prevent it or am I looking at writing a resizeStack handler to deal with it? > > Pete > lcSQL Software <http://www.lcsql.com> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode