RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRadioGroup.CanModify Method

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

Pascal
function CanModify: Boolean; virtual;
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. 

 

CanModify

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!