From RAD Studio API Documentation
Jump to: navigation, search


typedef void __fastcall (__closure *TGrpButtonReorderEvent)(System::TObject* Sender, int OldIndex, int NewIndex);


Type Visibility Source Unit Parent
typedef public Vcl.ButtonGroup.hpp Vcl.ButtonGroup Vcl.ButtonGroup


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.

See Also