Rear texts can't be displayed

 

 ctlName below is a tring to show text on terminal screen chart.

However, it seems MQ4 limit the text length to display and there are some words in the rear of the text can't be seen.

How to improve it?

 

ObjectCreate(ctlName,OBJ_LABEL,0,0,0);
 
moonsboy:

 ctlName below is a tring to show text on terminal screen chart.

However, it seems MQ4 limit the text length to display and there are some words in the rear of the text can't be seen.

How to improve it?

 

 

The code you show will only create the label. You should then move it into place with ObjectSet . If the text is too long and goes off the screen, you need to account for that in your code. 

Reason: