TIDEEngine.PreventDefaultEventCreation Property
Specifies if a default event is edited when a component is double clicked in the designer.
Remarks
When PreventDefaultEventCreation is false (the default behavior), when an user double clicks a component in the form designer, the inspector is put in imEvents mode (to show the component events), and the existing event handler for the default event is displayed in the script memo. If the event doesn't exist in script source code, it is created. For example, when the end-user double-clicks a TButton component named Button1, a Button1Click procedure is created in the script source code and assigned to the OnClick event of the TButton. You will only need to change this property in case you are building your own custom IDE and for some reason you don't want this behavior to be automatic.
Syntax
Unit: IDEMain
property TIDEEngine.PreventDefaultEventCreation: Boolean