If there“s no problem, you can use LazSolutions Component Pack
https://github.com/silvioprog/lazsolutions

It has a TEdit with the placeholder property that does exactly what you need

2012/10/5 Krzysztof <[email protected]>

> I want draw hint text over edit like "search" which disappear when
> control get focus. I have already done it by changing text in DoEnter
> and DoExit methods (like in lazarus control TTreeFilterEdit), but I'm
> just curious if it is possible do the same thing by drawing text
>
> --
> _______________________________________________
> Lazarus mailing list
> [email protected]
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
________________________________
William de Oliveira Ferreira
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to