RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDesignerHook Interface

IDesignerHook is an interface that allows component writers to interact with the form designer in the IDE.

Pascal
IDesignerHook = interface(IDesignerNotify);
C++
__interface IDesignerHook : public IDesignerNotify;

IDesignerHook provides access to the form currently under construction in the form designer, and influences the behavior of the designer by specifying whether the object under construction is a form (as opposed to a composite component), drawing the grid that assists in layout, and so on. 

Component writers can access the current IDesignerHook interface using the Designer property of a form.

Note: C++ method declarations that use IDesignerHook use the _di_IDesignerHook type instead. This is a DelphiInterface wrapper around the IDesignerHook interface:

typedef System::DelphiInterfaceDelphiInterface_object< IDesignerHook > _di_IDesignerHook;

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!