Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/3875-standardlibrary-controls-cbutton-cbuttonpressed.md
T
2026-06-23 21:47:51 +08:00

34 lines
426 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.
# Pressed (Get method)
Gets the state ("Pressed" property) of the control.
```
bool  Pressed()  const
```
Return Value
"Pressed" property of the control.
# Pressed (Set method)
Sets the state ("Pressed" property) of the control.
```
bool  Pressed(
   const bool  pressed      // state
   )
```
Parameters
pressed
[in]  New control state.
Return Value
true - successful, otherwise - false.