MQL5参考标准程序库面板和对话框CWndObjOnSetColor OnEventTextColorColorBackgroundColorBorderFontFontSizeZOrderOnObjectCreateOnObjectChangeOnObjectDeleteOnObjectDragOnSetTextOnSetColorOnSetColorBackgroundOnSetFontOnSetFontSizeOnSetZOrderOnDestroyOnChange OnSetColor 控件的 "设置颜色" (改变 OBJPROP_COLOR 属性) 事件处理器。 virtual bool OnSetColor() 返回值 true 如果事件已经被处理, 否则 false。 注释 基准类中的方法不做任何事且永远返回 true。 OnSetText OnSetColorBackground