calculating max vscroll

Richard Gaskin ambassador at fourthworld.com
Fri May 20 15:36:33 EDT 2005


Chris Sheffield wrote:
> Does anyone have a function that will calculate the maximum amount a  
> field can scroll if its height is too small to display it's entire  
> contents at once?  (did that make sense; it's been a long day and I  
> have a headache :-))

I think what you're looking for is:

   get the formattedHeight of fld "MyField"

--
  Richard Gaskin
  Fourth World Media Corporation
  __________________________________________________
  Rev tools and more: http://www.fourthworld.com/rev


More information about the use-livecode mailing list