How to hide scroll if field does not require it

Sivakatirswami katir at hindu.org
Wed May 26 12:37:34 EDT 2010


Anyone else wish that fields has a property by which you could turn off 
the appears of the vertical scroll bar, if the field actually did not 
have enough text to require it?

In the absence of that feature, what is the best way to program this?

I have a field that is dynamically filled with a listing from folders on 
the server on the LAN. Sometimes there may only be 1-2 files i the list, 
other times there are many. I would like the field not to have a 
vertical scroll bar if there it only has 1-7 lines of text and then if 
it fills with 8, suddenly the scroll bar appears.

I can think of ways to do this, but How are others doing this?

Thanks
Sivakatirswami



More information about the use-livecode mailing list