FMX.StdCtrls.TSwitchModel.OnSwitch

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnSwitch: TNotifyEvent read FOnSwitch write FOnSwitch;

C++

__property System::Classes::TNotifyEvent OnSwitch = {read=FOnSwitch, write=FOnSwitch};

Properties

Type Visibility Source Unit Parent
event public
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TSwitchModel

Description

Event handler that is called when TSwitch changes the value of IsChecked.

Occurs immediately after the TSwitch component is either turned on or turned off.

See Also