RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ButtonGroup.TGrpButtonEvent Type

TGrpButtonEvent is a type of Button Group event handler.

Pascal
TGrpButtonEvent = procedure (Sender: TObject; Index: Integer) of object;
C++
(Sender: TObject; Index: Integer) ( TGrpButtonEvent)();

ButtonGroup

TGrpButtonEvent defines the type of method procedure that you must define in order to implement the OnButtonClicked and OnHotButton events.  

This event is invoked for a button in the button group.  

Sender is a reference to the TButtonGroup invoking the event. 

Index is the index of the button in the button group. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!