From any button script, how can I reset the scrollbar of a field to the "top" ?

Francis Nugent Dixon effendi at
Thu Oct 15 05:56:48 EDT 2015

Hi from Beautiful Brittany,

> The scrolled amount of a field is defined by the vscroll (vertical) and  
> hscroll (horizontal) properties, so to set the scrollbar back to the top,  
> do this:
> set the vscroll of field "myField" to 0

Thanks David !

I tried everything I knew, but have never used scrolling commands before,
and I obviously didn't know vScroll and hScroll existed.


"Nothing should ever be done for the first time !"

More information about the use-livecode mailing list