mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 14:57:57 +02:00
added comments
git-svn-id: trunk@21699 -
This commit is contained in:
parent
de7440fe10
commit
fc1071e18f
@ -1,2 +1,14 @@
|
||||
This package is an example how to to use the lazarus IDE form designer to
|
||||
design non LCL widgets.
|
||||
|
||||
The unit mywidgetset.pas contains the class TMyWidget which is a TComponent
|
||||
and has Left, Top, Width, Height and Parent to define a simple widgetset.
|
||||
It does not contain any paint routines, so you can not do anything useful with
|
||||
this widgetset.
|
||||
|
||||
The unit mywidgetdesigner.pas contains the designer mediator TMyWidgetMediator
|
||||
which is registered in the Register procedure:
|
||||
FormEditingHook.RegisterDesignerMediator(TMyWidgetMediator);
|
||||
When the package is installed in the IDE, the mediator allows to design
|
||||
TMyWidget components visually. Without the mediator the IDE would show them as
|
||||
icons, like TOpenDialog or TDataSource.
|
||||
|
Loading…
Reference in New Issue
Block a user