DesignIntf.IDesigner60.SetSelections

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IDesigner60

Delphi

procedure SetSelections(const List: IDesignerSelections);

C++

virtual void __fastcall SetSelections(const _di_IDesignerSelections List) = 0 ;

Description

Changes the currently selected set of components.

Call SetSelections to programmatically change which objects in the root object are selected. Pass in a list of selections using an object such as TDesignerSelectionList that supports the IDesignerSelections interface.

Note: The List parameter of SetSelections can contain persistent objects that are not components.

See Also