RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDesignerSelections Class

TDesignerSelections maintains a list of persistent objects.

Pascal
TDesignerSelections = class(TInterfacedObject, IDesignerSelections);
C++
class TDesignerSelections : public TInterfacedObject, public IDesignerSelections;

DesignIntf

The form designer and its property editors and component editors use TDesignerSelections to manage lists of persistent objects in the IDE. For example, the form designer uses a TDesignerSelections to represent the set of components currently selected in the form designer. 

TDesignerSelections implements the IDesignerSelections interface. TDesignerSelections introduces properties and methods to  

Add objects to the list. 

Compare two lists of objects. 

Access individual objects in the list.

Note: TDesignerSelections does not allow objects to be rearranged or deleted from the list once they are added. To maintain a list of objects that allows the objects to be rearranged or deleted, use the TList object, or the Objects property of a descendant of TStrings.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!