EControl Form Designer Pro
TzFormDesigner.OnCreateIcon Property

Occurs before creating icon for non-visual component.

property OnCreateIcon: TCreateIconEvent;

Write an OnCreateIcon event handler to provide custom action. You may forbid component icon creation, so that component will not be visible on the designed Target, but will be accessible in object inspector. 


The Sender parameter is the object whose event handler is called. 

The Component parameter is the component icon is being created for 

The AllowCreate parameter determines whether an icon will be created.

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!