text objects

Questions about MultiCharts and user contributed studies.
Guest

text objects

Postby Guest » 28 Apr 2006

hi
how do i set the text to BOLD for text objects ?

thanks

User avatar
Alex Kramer
Posts: 834
Joined: 23 Feb 2006

Postby Alex Kramer » 28 Apr 2006

BOLD is an extension that is implemented in PowerLanguage, it is not present in EasyLanguage. The usage is:

text_a_bold 1 True – text object is in bold type.

By default this attribute is false (text is normal).

Guest

Postby Guest » 30 Apr 2006

So what's the syntax in powerlanguage ?

Alex Kramer wrote:BOLD is an extension that is implemented in PowerLanguage, it is not present in EasyLanguage. The usage is:

text_a_bold 1 True – text object is in bold type.

By default this attribute is false (text is normal).

User avatar
Alex Kramer
Posts: 834
Joined: 23 Feb 2006

Postby Alex Kramer » 01 May 2006

here's the syntax

value1=text_new(d,t,c,"MY TEXT");
text_setattribute(value1,1,true); // "my text" will be in bold type

hope this helps


Return to “MultiCharts”