CheckAllItemsUsingSelectedList

Selects or clears all the currently displayed check boxes for a given dimension when the tab is configured for multi-select mode.

The currently displayed members are determined by the member list and top member specified for the dimension. Member lists can be specified either programmatically or by users. To set a member list programmatically, use SetListInfo.

Tip:

To get the member IDs of selected members, use GetCheckedItems.

Syntax

<HsvPOVSelection>.CheckAllItemsUsingSelectedList lDim, bCheck

Argument

Description

lDim

Long (ByVal). The ID of the dimension. Dimension IDs are represented by the HFMConstants type library constants listed in Dimension ID Constants.

bCheck

Boolean (ByVal). A flag that determines whether all check boxes are selected or cleared. Pass TRUE to select, FALSE to clear.

Example

The following example clears all check boxes for the Entity dimension.

'cFormPOV represents an initialized HsvPOVSelection control
cFormPOV.CheckAllItemsUsingSelectedList DIMENSIONENTITY, False