Sign in Join

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

Mailing lists / lazarus / 2009-02

Design Surface

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Lee Jenkins

Is there anyway re-use the designer surface of the IDE? I have a component for this in delphi, but I'm thinking of trying the project in Lazarus.

Thanks,

Warm Regards, Lee

Reply by email

Mattias Gaertner
to Lee Jenkins
Is there anyway re-use the designer surface of the IDE? I have a component for this in delphi, but I'm thinking of trying the project in Lazarus.

There is a LCL function "GetDesignerDC" to get a DC to paint over everything on the form.
Other features like markers, grid, selection, moving, popup menu are part of the IDE and not re-usable.
Of course you can copy IDE code under the terms of the GPL.

Mattias

Reply by email