GrayText Command

Purpose

Displays given text in gray.

Syntax

GrayText x, y, t$

x, y:Single

Description

GrayText works in principle like Text, however, the string expression is shown in gray. As a rule Windows uses gray to indicate when an entry is not selectable.

The command requires three parameters. The first two x and y set the X and Y coordinates for the origin of the string specified in t$.

Example

OpenW 1

FontSize = 40

Text 10, 20, "Hello GFA"

GrayText 10, 40, "Hello GFA"

prints "Hello GFA", first in default color and then in gray.

See Also

Text, DrawText

{Created by Sjouke Hamstra; Last updated: 08/10/2014 by James Gaite}