DesignIntf.IDesigner60.GetSelections
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: public | |
| Source: DesignIntf.pas DesignIntf.hpp
| |
| Unit: DesignIntf | |
| Parent: IDesigner60 | |
Delphi
procedure GetSelections(const List: IDesignerSelections);
C++
virtual void __fastcall GetSelections(const _di_IDesignerSelections List) = 0 ;
Description
Fills a list with all selected components on the current root object.
Use GetSelections to access every component currently selected on the root object returned by the GetRoot method.
Pass a component (such as TDesignerSelectionList) that supports the IDesignerSelections interface as the List parameter. GetSelections fills this component with references to the selected objects.
Note: GetSelections can return persistent objects that are not components, as well as components.