FixedLocations

Applies to

ListView controls

Description

When the FixedLocations property is enabled, the user cannot drag items to new positions in the control. When Fixed Locations is not enabled and DragAuto is enabled, the user can drag items to new positions.

Usage

In a painter

To set the FixedLocation property:

  • Select the Fixed Locations check box on the General page of the control's Properties view

In scripts

The FixedLocations property takes a boolean value. The following example enables dragging of items within a ListView.

lv_1.DragAuto = TRUE
lv_1.FixedLocations = FALSE