RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBRadioGroup.CanModify Method

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

Pascal
function CanModify: Boolean; override;
C++
virtual __fastcall Boolean CanModify();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!