KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Making a Scrollable Text Area display the beginning of the text
PRODUCT: 4D | VERSION: | PLATFORM:
Published On: December 10, 1999

For scrollable text areas that contain more text than can be displayed at one time, there is a trick to force the text area to display the beginning of the text. The trick is to use the HIGHLIGHT TEXT command to set the cursor to be at the beginning of the text. 4D will automatically scroll the text area to display the cursor.
HIGHLIGHT TEXT(vScrollable_Text;1;1) ` set cursor to beginning of text