Occurs before new component creation.
property OnCreateComponent: TCreateComponentEvent;
Write this handler to customize component creation.
AClass - class of inserted component;
AOwner - owner of the component (root)
Instance - reference to component to be created.
Note: if you create event handler you should create component in it. Default component creation will be skipped. This allows to restrict component creation.
Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
|
What do you think about this topic? Send feedback!
|