Get XSIZE of a LABEL OBJECT - Is it possible? - page 2

 
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.
 
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.
 
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. 

 
eevviill:

It is not programing question.

It is mistake in developers rules. 

Not sure what you mean. The objects get rendered by Windows.
 
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() 

 
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);
 
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.