Get XSIZE of a LABEL OBJECT - Is it possible?

Back to topics list  | 1 2 To post a new topic, please log in or register
avatar
313
JD4 2015.07.28 19: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.
avatar
1109
Ovo 2015.07.28 19: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.
avatar
872
eevviill 2015.07.28 22: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. 

avatar
1109
Ovo 2015.07.29 06:15 #
 
eevviill:

It is not programing question.

It is mistake in developers rules. 

Not sure what you mean. The objects get rendered by Windows.
avatar
872
eevviill 2015.07.29 09: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() 

avatar
36
antt 2015.08.03 17: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);
avatar
872
eevviill 2015.08.03 17: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.

Back to topics list   | 1 2  

To add comments, please log in or register