下载MetaTrader 5

CChartObjectButton

CChartObjectButton 类用于简便地访问 "按钮" 图形对象属性。

描述

CChartObjectButton 类可供访问 "按钮" 对象属性。

声明

   class CChartObjectButton : public CChartObjectEdit

标称库文件

   #include <ChartObjects\ChartObjectsTxtControls.mqh>

继承体系

  CObject

      CChartObject

          CChartObjectText

              CChartObjectLabel

                  CChartObjectEdit

                      CChartObjectButton

直接分支

CChartObjectPanel

类方法

创建

 

创建

继承自类 CChartObjectEdit

属性

 

状态

获取/设置按钮状态 (按下/释放)

输入/输出

 

virtual Save

写文件的虚方法

virtual Load

从文件读取的虚方法

virtual Type

标识的虚方法

方法继承自类 CObject

Prev, Prev, Next, Next, Compare

方法继承自类 CChartObject

ChartId, Window, Name, Name, NumPoints, Attach, SetPoint, Delete, Detach, Time, Time, Price, Price, Color, Color, Style, Style, Width, Width, Background, Background, Fill, Fill, Z_Order, Z_Order, Selected, Selected, Selectable, Selectable, Description, Description, Tooltip, Tooltip, Timeframes, Timeframes, CreateTime, LevelsCount, LevelsCount, LevelColor, LevelColor, LevelStyle, LevelStyle, LevelWidth, LevelWidth, LevelValue, LevelValue, LevelDescription, LevelDescription, GetInteger, GetInteger, SetInteger, SetInteger, GetDouble, GetDouble, SetDouble, SetDouble, GetString, GetString, SetString, SetString, ShiftObject, ShiftPoint

方法继承自类 CChartObjectText

Angle, Angle, Font, Font, FontSize, FontSize, Anchor, Anchor, Create

方法继承自类 CChartObjectLabel

X_Distance, X_Distance, Y_Distance, Y_Distance, X_Size, Y_Size, Corner, Corner, Time, Price, Create

方法继承自类 CChartObjectEdit

X_Size, Y_Size, BackColor, BackColor, BorderColor, BorderColor, ReadOnly, ReadOnly, TextAlign, TextAlign, Angle, Create

参阅

对象类型, 对象属性, 图表角度, 对象绑定方法, 图形对象