Hi all, Mattias,
I would like to use FormEditor.CreateComponent and FormEditor.CreateuniqueComponentName from within a designer-mediator. So I don't have to duplicate that code.
How can I do this? I've tried it using LCLForm.Designer.TheFormEditor, but this is not possible because the TheFormEditor property is defined in the designer.pp unit, which I can not use in a package. I've tried to move the TheFormEditor property to the ComponentEditorDesigner class, but that leads to circular unit-references.
I can try to find some solution, but maybe you know a better one?
Joost.
