ShowCheckBoxes

Configures a given dimension’s tab for multi-select or single-select mode.

In multi-select mode, check boxes are displayed so that users can select multiple members. In single-select mode, users can select one member; no check boxes are displayed, and users select members by highlighting member labels.

In multi-select mode, get the selected members with GetCheckedItems. In single-select mode, get the selected member with GetMember.

Note:

In multi-select mode, the dimension’s tab also displays buttons for selecting and clearing all members.

Syntax

<HsvPOVSelection>.ShowCheckBoxes lDim, bShow

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.

bShow

Boolean (ByVal). A flag that specifies the tab’s selection mode. Pass TRUE to specify multi-select mode, FALSE to specify single-select mode.

Example

ShowCheckBoxes is used in the example for EnableDimension.