FMX.ListBox.TOnListBoxDragChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TOnListBoxDragChange = procedure(SourceItem, DestItem: TListBoxItem; var Allow: Boolean) of object;

C++

typedef void __fastcall (__closure *TOnListBoxDragChange)(TListBoxItem* SourceItem, TListBoxItem* DestItem, bool &Allow);

Properties

Type Visibility Source Unit Parent
type
typedef
public
FMX.ListBox.pas
FMX.ListBox.hpp
FMX.ListBox FMX.ListBox

Description

TOnListBoxDragChange is an event type used by the OnDragChange event handler of any TCustomListBox or descendant components.

In OnDragChange event handlers you can make further changes to the list box after the drag-and-drop operation.

Parameter Meaning

SourceItem

The item being dropped.

DestItem

The item in the list on top of which the SourceItem is being dropped.

Allow

Permission to make a drag-and-drop operation on an item.

See Also