Vcl.StdCtrls.TCustomEdit.TextHint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TextHint: string read FTextHint write SetTextHint;

C++

__property System::UnicodeString TextHint = {read=FTextHint, write=SetTextHint};

Properties

Type Visibility Source Unit Parent
property public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomEdit

Description

A hint or message to be displayed when the Text property is empty.

Use TextHint to cue the user on what kind of entry is expected in the text field. Runtime themes must be enabled.

Code Examples