Download MetaTrader 5

HOW TO CODE TAB STOP

To add comments, please log in or register
macpee
495
macpee  
Hy guys, I have created a lot of objects on my chart. I want to be able to move from one object to another by pressing the tab (forward movement) and shift+tab(backward movement). How can I code that please. Thank you in advance.
whroeder1
16102
whroeder1  
macpee: I want to be able to move from one object to another by pressing the tab

Objects are on the chart. "Moving" makes no sense. What are you "moving?"

If you mean selecting the next one, code your OnEvent for a tab, and when triggered go through the list, find the currently selected one, deselect it and select the next one.

We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using SRC) and the nature of your problem.

To add comments, please log in or register