[Lazarus] TextHint, TextHintFontColor, TextHintFontStyle
Leonardo M. Ramé
l.rame at griensu.com
Sun Nov 8 15:31:59 CET 2015
El 08/11/15 a las 11:08, Bart escribió:
> 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
Thanks Bart, it's the same as Bootstrap's <INPUT> placeholder property.
Regards,
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the Lazarus
mailing list