RAD Studio VCL Reference
ButtonGroup.TGrpButtonReorderEvent Type

TGrpButtonReorderEvent is a type of Button Group reorder event handler.

TGrpButtonReorderEvent = procedure (Sender: TObject; OldIndex, NewIndex: Integer) of object;
(Sender: TObject; OldIndex, NewIndex: Integer) ( TGrpButtonReorderEvent)();

TGrpButtonEvent defines the type of method procedure that you must define in order to implement the OnReorderButton and 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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!