DesignIntf.TDesignerSelections

From RAD Studio API Documentation
Jump to: navigation, search

System.TInterfacedObjectSystem.TObjectTDesignerSelections

Delphi

TDesignerSelections = class(TInterfacedObject, IDesignerSelections)

C++

class PASCALIMPLEMENTATION TDesignerSelections : public System::TInterfacedObject

Properties

Type Visibility Source Unit Parent
class public
DesignIntf.pas
DesignIntf.hpp
DesignIntf DesignIntf

Description

TDesignerSelections maintains a list of persistent objects.

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.

See Also