Vcl.ExtCtrls.TCustomRadioGroup.CanModify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CanModify: Boolean; virtual;

C++

virtual bool __fastcall CanModify();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomRadioGroup

Description

Determines whether the user can select a different radio button in the group.

Event handlers call CanModify to verify that the user is allowed to select a different radio button in the group. As defined in TCustomRadioGroup, this method always returns true; override it to return false in situations where the user should not be able to make changes.

See Also