Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2315-standardlibrary-chart-object-classes-obj-controls-cchartobjectedit-readonly.md
T
2026-06-23 21:47:51 +08:00

34 lines
576 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ReadOnly (Get Method)
Gets the value of "Read Only" property.
```
bool  ReadOnly() const
```
Return Value
Value of "Read Only" property of the object assigned to the class instance. If there is no object assigned, it returns false.
# ReadOnly (Set Method)
Sets the value for "Read Only" property.
```
bool  ReadOnly(
   const  bool  flag      // new property value
   )
```
Parameters
flag
[in]  New value for "Read Only" property (true means text editing is disabled).
Return Value
true - success, false - cannot change the property.