Vcl.ButtonGroup.TGrpButtonReorderEvent
Delphi
TGrpButtonReorderEvent = procedure(Sender: TObject; OldIndex, NewIndex: Integer) of object;
C++
typedef void __fastcall (__closure *TGrpButtonReorderEvent)(System::TObject* Sender, int OldIndex, int NewIndex);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.ButtonGroup.pas Vcl.ButtonGroup.hpp |
Vcl.ButtonGroup | Vcl.ButtonGroup |
Description
TGrpButtonReorderEvent is a type of Button Group reorder event handler.
TGrpButtonReorderEvent defines the type of method procedure that you must define in order to implement the OnReorderButton event.
This event is invoked when buttons are reordered in the button group.
Sender
is a reference to the TButtonGroup invoking the event.
OldIndex
is the index of the original button position in the button group.
NewIndex
is the index of the relocated button position in the button group.