Skip to main content
Table of Contents

TTMSFNCListBox.OnBeforeReorderItem Event

Occurs before an item is reordered.

API unit family: TMSFNCListBox Declaring type: TTMSFNCListBox Inherited from: TTMSFNCCustomListBox

Syntax

FMX.TMSFNCListBox.hppPascalC++
OnBeforeReorderItem: TTMSFNCListBoxBeforeReorderItemEvent;
__property TTMSFNCListBoxBeforeReorderItemEvent OnBeforeReorderItem = {read=FOnBeforeReorderItem, write=FOnBeforeReorderItem};

Parameters

Name Description
Sender The list box that triggered the event.
AFromItem The item being moved.
AToItem The target item for the reorder operation.
ACanReorder Set to False to cancel the reorder operation.