Vcl.DBCtrls.TDBRadioGroup.CanModify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CanModify: Boolean; override;

C++

virtual bool __fastcall CanModify();

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.

Vcl.DBCtrls.TDBRadioGroup.CanModify inherits from Vcl.ExtCtrls.TCustomRadioGroup.CanModify. All content below this line refers to Vcl.ExtCtrls.TCustomRadioGroup.CanModify.

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