Download MetaTrader 5

CCheckBox

CCheckBox is class of the CheckBox complex control.

Description

CCheckBox control displays a check box that allows a user to select a true or false condition at a mouse click.

Declaration

   class CCheckBox : public CWndContainer

Title

   #include <Controls\CheckBox.mqh>

Class Methods by Groups

Create

 

Create

Creates control

Chart event handlers

 

OnEvent

Event handler of all chart events

Properties

 

Text

Gets/sets text label associated with the control

Color

Gets/sets color of text label associated with the control

State

 

Checked

Gets/sets a value indicating whether the control is checked

Data

 

Value

Gets/sets the value associated with the control

Dependent controls

 

CreateButton

Creates dependent control (button)

CreateLabel

Creates dependent control (label)

Dependent controls event handlers

 

ClickButton

"ClickButton" internal event handler (virtual)

ClickLabel

"ClickLabel" internal event handler (virtual)

 


Updated: 2016.06.28