reading Edit Field value
-
Hiho.
I haven't found it in the 'manual'.
When I create an edit field object I don't know how to get the value of it when I the user enters a value. At that moment I wan't to check the value and set it when it is out of bounds.Can you help me!?
thanks in advance
PS: I think there should be a block within the 'Loop with objects' section like 'Check label'. Also I can't see a object attribute like 'label' when using the condition block.
-
Because it is the only text attribute and I needed to separate it from the numric ones somehow. It is also used in different context in objects, sometimes it is the description, sometimes it is the main text... depends on the object type.
-
Okay and how do I get the value of the edit field into a variable or compare it to another value?
Hope I haven't overlooked something!?
-
-
Ah. Okay. I understand. Its the object description.
Thanks for the fast feedback. I think now I have everything to start with my EA and start a new subscription.

-
Yes, the MQL4 function to get this value is actually called ObjectDescription(). Now that MQL4 is more like MQL5 there is another way to get this information and it is not "description" anymore, but ObjectDescription() still works.