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