Download MetaTrader 5

Effect "click button" on Object Button

To add comments, please log in or register
One billion tasks have already been executed with MQL5 Cloud Network. Test trading robots even faster!
Pavel Soukup
560
Pavel Soukup 2014.10.29 09:41 

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
1401
SYED NAUFAL GADDAFI 2014.10.29 10:32  

Actually it is more like this ...

Pressed state > img1

Unpressed state > img2

rod178
273
rod178 2014.10.29 10:35  
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 2014.10.29 11:30  
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