DropAdjust

[property icon] DropAdjust

Adjust placement of edit button

Integer property

Applies to: Grid , GridCell

Introduced in KCML version 6.00


>DropAdjust

DropAdjust

The DropAdjust property can be used to adjust the width of a drop down associated with editing a grid cell. This is particularly useful if the cell is quite narrow, containing perhaps a single letter code, but that the drop down list contains descriptions as well. The DropAdjust property is interpreted as follows:

0 Default. If this is specified for a cell, then the values for row and then column are used.
1 Normal behaviour. The drop down button appears on the right-hand side within the cell
2 The drop down button appears just to the right of the cell. The drop down has the same width as the cell and the drop down button
> 2 The drop down button appears just to the right of the cell. The value is added to the width of the cell to give the width of the drop down.

See also

Grid methods, properties and events. GridCell methods, properties and events.