Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/3932-standardlibrary-controls-cscroll-cscrollonevent.md
T
2026-06-23 21:47:51 +08:00

36 lines
711 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.
# OnEvent
Chart event handler.
```
virtual bool  OnEvent(
   const int      id,         // ID
   const long&    lparam,     // parameter
   const double&  dparam,     // parameter
   const string&  sparam      // parameter
   )
```
Parameters
id
[in]  Event ID.
lparam
[in]  Event parameter of [long](/en/docs/basis/types/integer/integertypes#long) type passed by reference.
dparam
[in]  Event parameter of [double](/en/docs/basis/types/double) type passed by reference.
sparam
[in]  Event parameter of [string](/en/docs/basis/types/stringconst) type passed by reference.
Return Value
true - event processed, otherwise - false.