Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-09

Updates: component editors

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

Hi all,

The IDE now supports 'component editors'.
They are implemented 90% the same as under Delphi. The differences are mostly because we have no interfaces in fpc 1.0.x.

Component editors are defined in designer/componenteditors.pas and are created by the designer on demand for every single component. If a component class has no registered component editor the TDefaultComponentEditor is created. If the user double clicks on a component the default action ('verb') is executed. The TDefaultComponentEditor defines as default action to create a method. For example 'OnClick' for a button. Component editors can add items to the popupmenu of the designer.

I will write the component editor for TNotebook...

I'm not very experienced in programming Delphi component editors. So, plz have a look, and tell me, if you think, the Delphi interface has design flaws or lacks some abilities.

Mattias

Reply by email