TOC PREV NEXT INDEX



TextBox


A TextBox is a multi-line label. The size and initial text of the TextBox may be set. Note that although TextBox will wrap words, it does not scroll text.

Scroll Text Box

A Scroll Text Box is a Text Box with a scrollbar added.

Note that there is a bug in Sun Microsystem's current implementation of the ScrollTextBox class: setting the text using the setText() method will cause the scrollbar to disappear. The scrollbar can be forced to reappear by calling the setBounds method of the ScrollTextBox after setting text.

The default setting for a Scroll Text Box is for it to scroll in response to the "page up" and "page down" buttons on a Palm OS Platform based handheld computer. To make a Scroll Text Box ignore these buttons, uncheck the box titled "Respond to page up/page down keys" on its properties page. Additional user code responding to a Scroll Text Box's penDown or penMove events may be entered on the penDown and penMove pages.

Select Scroll Text Box

A Select Scroll Text Box is very similar to a Scroll Text Box. It has the added capability to select a single line from the display.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX