DesignIntf.IPropertyHost.DropDownControl
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: public | |
| Source: DesignIntf.pas DesignIntf.hpp
| |
| Unit: DesignIntf | |
| Parent: IPropertyHost | |
Delphi
procedure DropDownControl(Control: TPersistent);
C++
virtual void __fastcall DropDownControl(System::Classes::TPersistent* Control) = 0 ;
Description
Displays a custom control as a drop-down window for the current property.
Call this method from within the Edit method of IProperty80 to display a drop-down window under the currently selected property.
Control must descend from TControl to function properly. This control has a host control as a parent, which is sized to match the size of the control.