From Xojo Documentation

Property (As String )
aMobileTextField.Hint = newStringValue
StringValue = aMobileTextField.Hint

New in 2020r2

Supported for all project types and targets.

Non-selectable, non-editable text that appears when the textfield is empty.


The purpose of the hint is to give the user an idea of what information the field is expecting. This is particularly useful if the field does not have an associated label.

Sample Code

LastNameField.Hint = "Last Name"