Show: Delphi C++
Display Preferences

Vcl.ColorGrd.TColorGrid.ClickEnablesColor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ClickEnablesColor: Boolean read FClickEnablesColor write FClickEnablesColor default False;

C++

__property bool ClickEnablesColor = {read=FClickEnablesColor, write=FClickEnablesColor, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ColorGrd.pas
Vcl.ColorGrd.hpp
Vcl.ColorGrd TColorGrid

Description

Specifies whether clicking the color grid automatically enables the foreground or background.

If ClickEnablesColor is True, left-clicking the grid sets ForegroundEnabled to True and right-clicking the grid sets BackgroundEnabled to True. If ClickEnablesColor is False, the ForegroundEnabled and BackgroundEnabled properties do not change their values when the user clicks the color grid.

See Also

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance