WebSearchField.CueText

From Xojo Documentation

Property (As String )
aWebSearchField.CueText = newStringValue
or
StringValue = aWebSearchField.CueText

New in 2010r4

Supported for all project types and targets.

The label that appears inside the SearchField to cue the user as to what will be searched. For example, the cue text in Safari’s search field by default is "Google" to let the user know that Google will be used to perform the search.

Note

The CueText is not changeable by the user and its contents are not provided by the Text property. It only serves as a prompt for the user.

Example

The following line in the Open event adds a CutText:

Me.CueText = "Enter search text"