MQL5 ReferenceStandard LibraryPanels and DialogsCWndContainerOnDeactivate DestroyOnEventOnMouseEventControlsTotalControlControlFindAddDeleteMoveShiftIdEnableDisableShowHideMouseFocusKillSaveLoadOnResizeOnActivateOnDeactivate OnDeactivate The virtual handler of control "Deactivate" internal event. virtual bool OnDeactivate() Return Value true - event processed, otherwise - false. Note The base class method does nothing and always returns true. OnActivate CLabel