[Lazarus] TButtonedEdit

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 11 17:20:05 CET 2010


On Thu, 11 Feb 2010 11:19:27 +0100
Andrea Mauri <andrea.mauri.75 at gmail.com> wrote:

> >
> > TEditButton ? (on misc component palette)
> >
> not exactly, it is a TEdit that can include two glyphs/buttons, one on 
> the right and one on the left, both inside the Tedit.
> 
> http://dn.codegear.com/article/images/38757/0300000E.png

If you want just an edit with two buttons, descend from
TCustomControl and create the edit and speedbuttons in its constructor.
You can set BorderStyle to bsNone for the edit, but I'm not sure if this
works on all widgetsets.

Mattias




More information about the Lazarus mailing list