Contents



DH_TextDisplay

Next

Function:

The DH_TextDisplay is an output-only GUI control for displaying text. Font and color scheme can be chosen to coordinate with your design. The display area can be set to any size. It is essentially an output-only version of the DH_TextIO module from the original DH_Sub-ControlPak, but has several advantages when input is not required:

  • The background can be made transparent by setting Bkgd RGB to -1

  • The text area can be placed behind another module, such as DH_PopupMenu's transparent rectangle, using Send to Back

  • The cursor doesn't change when the mouse is over DH_TextDisplay, and no blinking caret ever appears in the text.

Left-hand side pins:

Text In        - Text Input.

Clear          - Clears display.

Bkgd RGB - RGB value of background color, or -1 for transparent background.

Text RGB   -  RGB value of text color.

Font           - List of 11 widely distributed fonts.

Font Size    - List of selected font sizes.

Text Align     - Left, center, or right

Right-hand side pin:

Text In       - Text Input (identical to left-hand input pin)

Notes:

Use whichever input is more convenient.

top

Next