MQL5参考标准程序库面板和对话框CWndObjOnDestroy OnEventTextColorColorBackgroundColorBorderFontFontSizeZOrderOnObjectCreateOnObjectChangeOnObjectDeleteOnObjectDragOnSetTextOnSetColorOnSetColorBackgroundOnSetFontOnSetFontSizeOnSetZOrderOnDestroyOnChange OnDestroy 控件的 "销毁" 事件处理器。 virtual bool OnDestroy() 返回值 true 如果事件已经被处理, 否则 false。 OnSetZOrder OnChange