Show: Delphi C++
Display Preferences

Vcl.CheckLst.TCheckListBox.AllowGrayed

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AllowGrayed: Boolean read FAllowGrayed write FAllowGrayed default False;

C++

__property bool AllowGrayed = {read=FAllowGrayed, write=FAllowGrayed, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.CheckLst.pas
Vcl.CheckLst.hpp
Vcl.CheckLst TCheckListBox

Description

Determines whether a check box can have a dimmed appearance (be unavailable).

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.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance