smartScrollbar
April 23, 2008 in Linux, Mac OS X, Vista, Windows XP by chip
Fields look ugly when they have a vertical scrollbar that is not needed. This handler takes care of that.
To call it, use something like:
smartScrollbar the long name of fld "myList"
The handler:
ON smartScrollbar pWhichObject
set the vscrollbar of pWhichObject to (the formattedheight of pWhichObject > the height of pWhichObject)
END smartScrollbar