[Lazarus] TEditButton alignment

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Mar 18 23:44:12 CET 2013


On Mon, 18 Mar 2013 22:48:08 +0200
Juha Manninen <juha.manninen62 at gmail.com> wrote:

> It is a well known issue that TEditButton aligns wrong.
> 
> In the last note of issue
>   http://bugs.freepascal.org/view.php?id=12155
> Mattias writes :
> "The best solution is to redesign TEditButton as an edit and a button
> in a panel. I started it as proof of concept in
> examples/groupedcontrols.
> This will break all current workarounds, so it will not be done for 1.0. "
> 
> It was discussed at forum:
>   http://lazarus.freepascal.org/index.php/topic,19496.msg115847.html#msg115847
> 
> I would like to know if this "edit and button in a panel" strategy is
> still valid or does it have some hidden traps?

There might be some transparency problems with a TPanel and of course
a TPanel is not a TCustomEdit (inheritance).

Mattias




More information about the Lazarus mailing list