Skip to main content

TdxCustomMapControl.OnSelectionChanging Event

Enables you to prohibit certain items from being selected/deselected.

Declaration

property OnSelectionChanging: TdxMapControlSelectionChangingEvent read; write;

Remarks

Sender specifies the map control.

AItem specifies the map item to be added or removed from the current selection.

AAllow specifies whether the selection change is allowed. Set AAllow to False to prohibit the selection from being modified.

The OnSelectionChanged event fires after all OnSelectionChanging events are handled.

See Also