Sign in Join

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

Mailing lists / fpc-other / 2010-03

Inserting a component in a form

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Unknown author

Hi!

I'm doing a property editor that will insert new components (in the same form/data module of the component that is being edited) after some questions in a dialog... But I don't know how to do this.

Somebody know?

Regards,

Fabio

Mattias Gaertner
to Unknown author
Show quoted text 5 lines
Hi! I'm doing a property editor that will insert new components (in the same form/data module of the component that is being edited) after some questions in a dialog... But I don't know how to do this.

In lazarus?

Mattias

Unknown author
to Mattias Gaertner

Yes...

Thanks Mattias, but I found an example on Lazarus, but with a ComponentEditor and not with PropertyEditor. When editing the project, the class TPageControl have an option called "Add Page" that do this. It add a new object and declare it on the unit file.

Thank you!

2010/3/6 Mattias Gaertner

Show quoted text 17 lines
On Fri, 5 Mar 2010 19:27:06 -0300 "" wrote: > Hi! > > I'm doing a property editor that will insert new components (in the same > form/data module of the component that is being edited) after some questions > in a dialog... But I don't know how to do this. In lazarus? Mattias _______________________________________________ fpc-other maillist - http://lists.freepascal.org/mailman/listinfo/fpc-other