Ummm, Eeeeee, How do you this again?

Ken Ray kray at sonsothunder.com
Sat Jul 15 22:35:07 CDT 2006


On 7/15/06 6:43 PM, "Garrett Hylltun" <garrett at paraboliclogic.com> wrote:

> Rev 2.6.1  on OS X
> 
> Greetings,
> 
> Somebody showed me how to do this before, but for the life of me
> can't find the code or the email on it.
> 
> I need to record the vscroll position, increase the font size of the
> field, then reapply the htmltext, then adjust the vscroll to take
> into account the increased formattedheight.  Basically, put the
> vscroll back to the same line as it was before the font size increase.
> 
> I can't find anything specific to doing this in the docs, and even
> attempted to figure this out on my own, but I just can't seem to
> grasp it.
> 
> Could someone please point me in the right direction?

put the vScroll of fld "stuff" into tScroll
-- set your font size
-- insert your html text
set the vScroll of fld "Stuff" to tScroll

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list