Download MetaTrader 5
To add comments, please log in or register
Do you want to become a well-known developer? Execute the orders of traders in the Freelance service!
metbright
101
metbright 2014.04.07 11:19 

How to make edit field show string I enter? When I enter new value it will change to the initial value. I need it show the new value that I enter last time. And get the new value to variable.

Sorry for my poor English.

Thanks.

qjol
3243
qjol 2014.04.07 11:37  
save it somewhere before you change it
metbright
101
metbright 2014.04.07 12:26  
qjol:
save it somewhere before you change it

How to save it? Can I use "ObjectGetString" ?
metbright
101
metbright 2014.04.07 12:55  
I can't change the value, it always change to the first initial value every tick.
qjol
3243
qjol 2014.04.07 14:46  
show the relevant code
Daniel Petrovai
440
Daniel Petrovai 2014.04.09 10:17  
metbright:

How to make edit field show string I enter? When I enter new value it will change to the initial value. I need it show the new value that I enter last time. And get the new value to variable.

Thanks.

"When I enter new value it will change to the initial value" .If the object is created by an indicator, it will always return to it's original value (the object will be deleted and a new one with original settings will replace it).

You can change the indicator to assign the string you want but you can't "save" your changes by editing fields like that.

Can you be more specific about what you try to do, how you try to do it and why?

/
To add comments, please log in or register