Skip to main content

TdxPDFChoiceField.MoveItem(Integer,Integer) Method

Moves the specified item within the field.

Declaration

procedure MoveItem(ACurrentIndex: Integer; ANewIndex: Integer);

Parameters

Name Type Description
ACurrentIndex Integer

The target field item’s index.

ANewIndex Integer

The moved field item’s new position within the field.

Remarks

Call this procedure to rearrange field items if the Sorted property is set to False. Otherwise, a MoveItem procedure call has no effect.

See Also