Programming Guide



sm_select

Selects an occurrence in a selection group

int sm_select(char *selection_group, int group_occurrence);

selection_group
The name of a selection group.

group_occurrence
The number of the occurrence in selection_group to select.

Returns

Description

sm_select lets you select an occurrence within a selection group. If the group's num_of_selections property is set to PV_1 (allows only one selection), Panther first deselects the current selection before it selects group_occurrence. For more information about selection widgets, refer to Chapter 20, "Selection Widgets," in Using the Editors.

To deselect an occurrence, call sm_deselect.

See Also

sm_deselect