[Lazarus] How to limit editor area of a TEdit

Gabor Boros gaborboros at yahoo.com
Mon Feb 2 15:59:18 CET 2015


2015.02.02. 15:11 keltezéssel, zeljko írta:
> Sure, I've shown you howto do it under pure LCL with Qt widgetset, now
> you should include qtwidgets in your code and handle textrect when
> clientsize of TEdit is changed (button is shown or hidden).You can do
> that by setting: TQtLineEdit(Handle).TextMargins := SomeRect;
> Happy coding.
>
> z.

I am happy and coding... :-)

Thank You again!

Gabor




More information about the Lazarus mailing list