Download MetaTrader 5

CEdit

CEdit is class of the simple control based on "Edit" chart object.

Description

CEdit class in intended for creation of controls, in which the user can enter text.

Declaration

   class CEdit : public CWndObj

Title

   #include <Controls\Edit.mqh>

Class Methods by Groups

Create

 

Create

Creates control

Properties

 

ReadOnly

Gets/sets the "ReadOnly" property

TextAlign

Gets/sets the "TextAlign" property

Chart object event handlers

 

OnObjectEndEdit

The CHARTEVENT_OBJECT_ENDEDIT event handler (virtual)

Properties change event handlers

 

OnSetText

"SetText" event handler

OnSetColor

"SetColor" event handler

OnSetColorBackground

"SetColorBackground" event handler

OnSetColorBorder

"SetColorBorder" event handler

OnSetFont

"SetFont" event handler

OnSetFontSize

"SetFontSize" event handler

OnSetZOrder

"SetZOrder" event handler

Internal event handlers

 

OnCreate

"Create" internal event handler

OnShow

"Show" internal event handler

OnHide

"Hide" internal event handler

OnMove

"Move" internal event handler

OnResize

"Resize" internal event handler

OnChange

"Change" internal event handler

OnClick

"Click" internal event handler

 


Updated: 2016.06.24