Vcl.DBCtrls.TDBRadioGroup.CanModify

From RAD Studio API Documentation

Delphi

function CanModify: Boolean; override;

C++

virtual bool __fastcall CanModify(void);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBRadioGroup

Description

Determines whether the user can select a different radio button in the group. {{#multireplace:Vcl.DBCtrls.TDBRadioGroup.CanModify|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ExtCtrls.TCustomRadioGroup.CanModify|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ExtCtrls.TCustomRadioGroup.CanModify|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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