TextField.CueText
From Xojo Documentation
This item was deprecated in version 2019r2. Please use TextField.Hint as a replacement. |
Property (As String )
aTextField.CueText = newStringValue
or
StringValue = aTextField.CueText
New in 2009r3
Supported for all project types and targets.
or
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.
Notes
On Windows and Linux, the Cue Text only appears when the TextField does not have focus.
Example
This example is in the Open event of the control:
Me.CueText = "Enter something"