[Lazarus] TextHint, TextHintFontColor, TextHintFontStyle

Bart bartjunk64 at gmail.com
Sun Nov 8 15:08:08 CET 2015


On 11/8/15, Leonardo M. Ramé <l.rame at griensu.com> wrote:

> Hi, I noted there are new (to me) properties in some components, what's
> the difference between those and the good old Hint property?.
>

TextHint fills the TCustomEdit with the value assigned to it, whenever
the control's Text property is empty and the control does not have
focus.
Hint only (and alwaysif showhint = true) displays a bloontip when the
mouse is over the control.

Just play with it:

Edit1.TextHint := 'Type your name here';

Bart




More information about the Lazarus mailing list