RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ButtonGroup.TGrpButtonReorderEvent Type

TGrpButtonReorderEvent is a type of Button Group reorder event handler.

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

ButtonGroup

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!