Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2361-standardlibrary-chart-object-classes-obj-controls-cchartobjectbmplabel-cchartobjectbmplabelstate.md
T

34 lines
501 B
Markdown
Raw Normal View History

2026-06-23 21:47:51 +08:00
# State (Get Method)
Gets the value of "State" property.
```
bool  State() const
```
Return Value
Value of "State" property of the object assigned to the class instance. If there is no object assigned, it returns false.
# State (Set Method)
Sets new value for "State" property.
```
bool  State(
   bool  state      // property value
   )
```
Parameters
state
[in]  New value for "State" property.
Return Value
true - successful, false - cannot change the property.