Posted on Sunday 6 March 2005
There are a few reasons why you would use a TextField and UIScrollbar instead of TextArea: making the scrollbar a different size than the text, Inputting the text visually instead of through the component properties, and changing the look of the surrounding border. In the bit component set, VertScrollbar and HorScrollbar don’t have built-in TextField scrolling capabilities like UIScrollbar, so I created a ScrollbarBinder component. From the mxp’s description:
Scrollbar Binder works with the BJC bit component set to bind a horizontal or vertical scrollbar to a textfield, meaning you can use a scrollable TextField without resorting to TextArea.
Set _textfield and _scrollbar to the names of the textfield and scrllbar to bind. Use the refresh() function to trigger a refresh of the scrollbar.
Find it under Components > 5etdemi.com > ScrollbarBinder


