From Xojo Documentation

Revision as of 19:09, 3 September 2020 by THill (talk | contribs) (Text replacement - "{{Deprecated|" to "{{DeprecatedItem|")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As String )
aTextField.CueText = newStringValue
StringValue = aTextField.CueText

New in 2009r3

Supported for all project types and targets.

Use to display a cue or suggested value in the field. The CueText appears in the TextField in grey text.


On Windows and Linux, the Cue Text only appears when the TextField does not have focus.


This example is in the Open event of the control:

Me.CueText = "Enter something"