Terrapin Resources

Static texts

Extends: STATICTEXT > CONTROL > WIDGET

A static text is a simple box to display any amount of text. It adds the AUTOSCROLL property to the CONTROL properties.


AUTOSCROLL

Part of: STATICTEXT

Controls a vertical scroll bar.

Syntax

GPROP "STATICTEXT "AUTOSCROLL
PPROP "TEXT "AUTOSCROLL TRUE/FALSE

Description

If AUTOSCROLL is set to TRUE, a vertical scroll bar appears if the text is too long to display in the available space.

Examples

DRAW ; Drop a STATICTEXT widget from the Toolbox > Controls STATICTEXT dropped PPROP “TEXT “AUTOSCROLL TRUE