MQL5 ReferenceStandard LibraryPanels and DialogsCEditReadOnly CreateReadOnlyTextAlignOnObjectEndEditOnSetTextOnSetColorOnSetColorBackgroundOnSetColorBorderOnSetFontOnSetFontSizeOnSetZOrderOnCreateOnShowOnHideOnMoveOnResizeOnChangeOnClick ReadOnly (Get Method) Gets the "ReadOnly" property of the control. bool ReadOnly() Return Value The value of "ReadOnly" property. ReadOnly (Set Method) Sets the value of "ReadOnly" property of the control. bool ReadOnly( const bool flag // value ) Parameters flag [in] New value of "ReadOnly" property. Return Value true - successful, otherwise - false. Create TextAlign