Set focus on OBJ_EDIT element

 

Is it possible to programmatically give the focus to a OBJ_EDIT element placed on chart?

If yes, how to do it?

Thanks

 

Seems you should work with @Petr Nosek you are doing similar things.

Forum on trading, automated trading systems and testing trading strategies

OBJ_EDIT focus

Petr Nosek, 2018.01.18 12:27

Hello,

I have two similar questions related to OBJ_EDIT:

1) Can I find out if the object (OBJ_EDIT) has focus (the cursor blinks inside the box) in MQL?

2) Can I set focus to an object (OBJ_EDIT) in MQL?


Reason: