Download MetaTrader 5

CSpinEdit

CSpinEdit is a class of SpinEdit complex control (with dependent controls).

Description

CSpinEdit class is intended for creation of a control, which allows editing a value of integer type with a specified step and within specified limitations.

Declaration

   class CSpinEdit : public CWndContainer

Title

   #include <Controls\SpinEdit.mqh>

Class Methods by Groups

Create

 

Create

Creates control

Chart event handlers

 

OnEvent

Event handler of all chart events

Properties

 

MinValue

Gets/sets the minimal allowed value

MaxValue

Gets/sets the maximal allowed value

State

 

Value

Gets/sets the current value

Dependent controls

 

CreateEdit

Creates dependent control (edit)

CreateInc

Creates dependent control (increment button)

CreateDec

Creates dependent control (decrement button)

Dependent controls event handlers

 

OnClickInc

"ClickInc" internal event handler (virtual)

OnClickDec

"ClickDec" internal event handler (virtual)

Internal event handlers

 

OnChangeValue

"ChangeValue" internal event handler (virtual)

 


Updated: 2016.06.29