DesignIntf.IDesigner60.GetSelections
Delphi
procedure GetSelections(const List: IDesignerSelections);
C++
virtual void __fastcall GetSelections(const _di_IDesignerSelections List) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IDesigner60 |
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.