How to make text bold/thick on label

To add comments, please log in or register
marketcycle17
58
marketcycle17  

Hello

How can I make the text bolder/thicker on the label?

I use this code:

string idxLabel="hello";

ObjectSetInteger(0,idxLabel,OBJPROP_COLOR,clrBlack);
ObjectSetString(0,idxLabel,OBJPROP_TEXT,"Text");
ObjectSetInteger(0,idxLabel,OBJPROP_FONTSIZE, 10);
ObjectSetString(0,idxLabel,OBJPROP_FONT, "Tahoma");
Marco vd Heijden
Moderator
12719
Marco vd Heijden  

Hi you specify the font.

ObjectSetString(0,idxLabel,OBJPROP_FONT, "Tahoma Bold");
marketcycle17
58
marketcycle17  
Marco vd Heijden:

Hi you specify the font.

Thank you Marco. I tried the font you suggested but doesn't work. Then I changed the font into Arial Black and it works fine.
To add comments, please log in or register