Vcl.ButtonGroup.TGrpButtonEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

typedef void __fastcall (__closure *TGrpButtonEvent)(System::TObject* Sender, int Index);

Properties

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

Description

TGrpButtonEvent is a type of Button Group event handler.

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.

See Also