MQL5 ReferenceStandard LibraryPanels and DialogsCWndObjOnSetColor OnEventTextColorColorBackgroundColorBorderFontFontSizeZOrderOnObjectCreateOnObjectChangeOnObjectDeleteOnObjectDragOnSetTextOnSetColorOnSetColorBackgroundOnSetFontOnSetFontSizeOnSetZOrderOnDestroyOnChange OnSetColor The virtual handler of control "SetColor" (change of the OBJPROP_COLOR property) event. virtual bool OnSetColor() Return Value true - event processed, otherwise - false. Note The base class method does nothing and always returns true. OnSetText OnSetColorBackground