EControl Form Designer Pro
TzCustomFormDesigner.GetSelections Method

Fills a list with all selected components on the current root object.

procedure GetSelections(const List: IDesignerSelections);

Use GetSelections to access every component currently selected on the root object returned by the GetRoot method. 


Pass a component 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. 

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!