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

David Williams dwilliams at livecode.com
Wed Oct 14 08:47:40 EDT 2015


Hi Francis,

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

-David

On Wed, 14 Oct 2015 13:43:37 +0100, Francis Nugent Dixon  
<effendi at wanadoo.fr> wrote:

> Hi from Beautiful Brittany,
>
> This is a beginners question (except that I am not a beginner)
> I've tried everything I know to do this, but all the commands
> I tried came up with an error. Sounds stupid, don't it ?
>
> Is there a soul to help me out ?
>
> -Francis
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


-- 
Using Opera's mail client: http://www.opera.com/mail/




More information about the use-livecode mailing list