pete at lcsql.com
Tue Aug 21 12:56:33 EDT 2012
Yes, the field, not the stack, sorry about the typo. Although, I recall
other discussions about a stack having the ability to scroll instead of
having to group every control together to achieve that result.
Thanks for the code. I was hoping there might be some other property that
would avoid the behavior since it seems completely arbitrary to me.
lcSQL Software <http://www.lcsql.com>
On Tue, Aug 21, 2012 at 6:51 AM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:
> 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
> > line is out of sight, then resize the stack horizontally or vertically,
> > scroll position of the stack is changed so that the selected line is
> > 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
> > Pete
> > lcSQL Software <http://www.lcsql.com>
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode