RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDesigner60.SetSelections Method

Changes the currently selected set of components.

Pascal
procedure SetSelections(const List: IDesignerSelections);
C++
__fastcall SetSelections(const IDesignerSelections List);

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!