vScroll to line
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Tue Dec 6 14:46:46 EST 2005
Hi Preston,
1. In an editable field:
on mouseUp
ScrollField <field name>,<line number>
end mouseUp
on ScrollField pFldName, pLineNum
local tScroll
-----
put (the effective textHeight of fld pFldName) * (pLineNum - 1)
into tScroll
set the scroll of fld pFldName to tScroll
end ScrollField
2. In a list field:
on mouseUp
set the hilitedline of fld <field name> to <line number>
end mouseUp
Le 6 déc. 05 à 20:34, Preston Shea a écrit :
> How do I get a mouseUp message to scroll field myField down to line
> 92 ?
Best Regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Free plugins and tutorials on my website
----------------------------------------------------------------
Web site http://www.sosmartsoftware.com/
Email eric.chatonet at sosmartsoftware.com/
Phone 33 (0)1 43 31 77 62
Mobile 33 (0)6 20 74 50 86
----------------------------------------------------------------
More information about the use-livecode
mailing list