DesignIntf.ICustomModule.ValidateComponent
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: public | |
| Source: DesignIntf.pas DesignIntf.hpp
| |
| Unit: DesignIntf | |
| Parent: ICustomModule | |
Delphi
procedure ValidateComponent(Component: TComponent);
C++
virtual void __fastcall ValidateComponent(System::Classes::TComponent* Component) = 0 ;
Description
Allows the custom module to reject components that are not suitable for the module.
If the component is not applicable for the module, ValidateComponent should raise an exception.