Download MetaTrader 5

Effect "click button" on Object Button

To add comments, please log in or register
Pavel Soukup
560
Pavel Soukup  

Hi guys,

I created button by example from manual: https://docs.mql4.com/constants/objectconstants/enum_object/obj_button but this button haven´t effect click on button. Or maybe have some error?

How get effect click on button...? 

Thanks 

SYED NAUFAL GADDAFI
1399
SYED NAUFAL GADDAFI  

Actually it is more like this ...

Pressed state > img1

Unpressed state > img2

rod178
269
rod178  
endy5:

Hi guys,

I created button by example from manual: https://docs.mql4.com/constants/objectconstants/enum_object/obj_button but this button haven´t effect click on button. Or maybe have some error?

How get effect click on button...? 

Thanks 

OnChartEvent() 

................. 

if(id==CHARTEVENT_OBJECT_CLICK) 

Pavel Soukup
560
Pavel Soukup  
deysmacro:

Actually it is more like this ...

Pressed state > img1

Unpressed state > img2

Maybe insert any easy example code, please? Thank you.
To add comments, please log in or register