Download MetaTrader 5
To add comments, please log in or register
What are the latest MQL5.community news? The Wall section will tell you!
JD4
1101
JD4 2015.07.28 17:27  
eevviill:

0 than 69(ok) 69 69 0 0 0 69 0

Moderators can you fix the problem? 

Moderators are responsible for the forum, not necessarily programming help.  Other users can help you with your programming questions, if they know a solution.
Ovo Cz
3043
Ovo Cz 2015.07.28 17:32  
JD4:
Moderators are responsible for the forum, not necessarily programming help.  Other users can help you with your programming questions, if they know a solution.
Actually stringo is a staff member. Nevertheless he explained the problem, the value is calculated after the object is fully rendered when the parameters change.
Vasyl Nosal
18457
Vasyl Nosal 2015.07.28 20:14  
JD4:
Moderators are responsible for the forum, not necessarily programming help.  Other users can help you with your programming questions, if they know a solution.

It is not programing question.

It is mistake in developers rules. 

Ovo Cz
3043
Ovo Cz 2015.07.29 04:15  
eevviill:

It is not programing question.

It is mistake in developers rules. 

Not sure what you mean. The objects get rendered by Windows.
Vasyl Nosal
18457
Vasyl Nosal 2015.07.29 07:29  
stringo:

You can get requested data after chart drawing only.

Size of label object calculated at chart drawing. You cannot get size immediately after label object create

I see. Function ObjectSet(Create) returns true/false if command sended to chart, not when object has been modified.

Where is logic?????

And if your rules like this, you need to enter to MQL4 some like IsObjectReadyToObjectGet() 

Anton
1849
Anton 2015.08.03 15:22  
stringo:

You can get requested data after chart drawing only.

Size of label object calculated at chart drawing. You cannot get size immediately after label object create

+ or after
ObjectSetString(0,name,OBJPROP_TEXT,object);
Vasyl Nosal
18457
Vasyl Nosal 2015.08.03 15:46  
antt:
+ or after

Cool. 

I creat object

setText

and can't get it size???

 

Fix the problem.

true must returns not when command sended to chart to change label, function must return true when object has been CHANGED.

/ /12
To add comments, please log in or register