RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCheckListBox.AllowGrayed Property

Determines whether check box can be in a "grayed" state.

Pascal
property AllowGrayed: Boolean;
C++
__property Boolean AllowGrayed;

If AllowGrayed is set to true, each item has three possible states: checked, unchecked, and grayed. If AllowGrayed is set to false, each item has only two possible states: checked and unchecked.

Note: It is also possible to disable individual items while still showing whether they are checked or unchecked. To disable items without using the grayed state, use the ItemEnabled property.
 

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