Picture this

Geoff Canyon gcanyon at inspiredlogic.com
Wed Aug 27 23:19:00 EDT 2003


On Tuesday, August 26, 2003, at 06:22  PM, Ken Norris wrote:

> Well, I wanted it to scroll simultaneously into view in the box, just 
> like
> the field scrolls, but larger in the box. Like you were holding a
> rectangular magnifying glass over the middle of the field. A field 
> with all
> the same text and a larger font wouldn't scroll with the other.

It could. If the font of the "magnified" field is twice the font of the 
main field (and twice as wide so the text wraps identically), something 
like this would work:

on scrollbarDrag
   set the scroll of fld "field 1" to 2 * the scroll of me
end scrollbarDrag

regards,

Geoff Canyon
gcanyon at inspiredlogic.com




More information about the use-livecode mailing list