Synchronization of buttons to a scrolling field

Klaus Major klaus at major-k.de
Tue Jun 21 12:25:50 EDT 2005


Hi Glen,

> I was wondering if it was possible to synchronize a group of
> horizontal buttons to the horizontal scroll bar of a field.
>
> So as you scroll the field , the row of buttons above the field scroll
> with the same relationship?

sure, why not? :-)

Just group your buttons and add a tiny script to your field like:

on scrollbardrag
   set the hscroll of grp "lotsa buttons" to the hscroll of me
end scrollbardrag

or something like this, you get the picture :-)

> thanks,

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list