IWxGroup.AllowObjectSelection

Syntax

AllowObjectSelection: Boolean;

Description

The AllowObjectSelection property determines whether objects can be selected within a group. If the property is set to True, objects within a group are selected, if the property is set to False, they are not selected.

The default property value is True.

Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Sub UserProc;

Var

ws: IWxWorkspace;

Group : IWxGroup;

Begin

ws.BeginUpdate;

Group := ws.Shapes.FindById("Shape 3") As IWxGroup;

Group.AllowObjectSelection := False;

ws.EndUpdate;

End Sub UserProc;

After executing the example selection of object within a group is disabled.

See also:

IWxGroup