Microsoft SDK for Java

ISelectionService.getSelectedComponents

Retrieves an array of all components that are selected in the Forms Designer.

Syntax

public IComponent [] getSelectedComponents()

Return Value

Returns an array of IComponent objects that represent the components that are selected in the Forms Designer.

Remarks

Calling the getComponentSelected method on a specific component is faster than retrieving the array of all selected components.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.