Default hint text shown when the Text property is empty and the control is not focused.
Source position: stdctrls.pp line 879
public property TCustomEdit.TextHint : string |
TextHint fills the TCustomEdit with the value in the property when the Text in the control is empty and the control does not have focus. This is different than Hint, which displays a balloon tip when ShowHint is set to True and the mouse is over the control.
Setting a new value in TextHint causes the widgetset class to be notified, and the value is displayed in the edit control when allowed. If the new value is an empty string (''), the text hint is removed from the control.
CT Web help |
CodeTyphon Studio |