[Lazarus] Hooking into the IDEs save events?

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Sep 26 12:16:56 CEST 2014

On Fri, 26 Sep 2014 10:59:30 +0100
"vfclists ." <vfclists at gmail.com> wrote:

> So in short are there some IDE events and procedures that can be hooked
> into to decide whether some changes will be allowed?v

The properties in the Object Inspector are handled by property editors,
which can reject values.

You can set csDesignFixedBounds in a control.ControlStyle. This
prevents direct moves/resizes. It does not prevent indirect moves by the
layout engine.

You cannot prevent the user from moving a form. Well, you can try, but
it won't work on all platforms.

See also


More information about the Lazarus mailing list