[Lazarus] Ann: TButtonEdit as replacement for TEditButton

Bart bartjunk64 at gmail.com
Wed Apr 9 18:14:56 CEST 2014


On 4/6/14, Bart <bartjunk64 at gmail.com> wrote:

> As per r44623 (trunk) the new TButtonEdit component replaces the
> TEditButton component.

After a long discussion with the Lazarus deveopers it was decided that
the new name of the component was causing too much regressions and
maintenance problems in the future.

The old TEditButton implementation therefore has now been replaced
with the implementation of the previously new developed TButtonEdit
component.

The USEOLDEDITBUTTON define to use the old implementation has been removed.
This ensures that regressions of the new implementation (missing
properties, wrong functionality etc.) will be reported much sooner and
by more people.

Since the new implementation inherits from a new ancestor,
custom-derived controls that override TCustomMaskEdit's (protected)
methods may not compile anymore.

For the most common ones alternatives have been implemented with names
reflecting the inner working e.g:
- TCustomEditButton.EditChange instead of the old inherited
TCustomEditButton.Change

Most notably the DoButtonClick(Sender: TObject) now is replaced by
ButtonClick; (no parameters).

I would like to thank all of you for testing and your valuable feedback.

Please keep reporting regressions and other bugs in the bugtracker.

Bart




More information about the Lazarus mailing list