Page 1 of 1

Text_new

Posted: 22 Dec 2006
by Guest
I'm trying to Label at a particular point time and price with text. However, I'd like to be able to stack two lines of text. Is there anyway of doing that without having to do two Text_new statements, and then trying to separate them so they don't over lap?

Code: Select all

If condition 1 then begin
OldTextID=TextID;
TextID=Text_new(d,t,p,"Text")
If OldTexID<>-1 then
value1=text_delete
for this example, if I wanted to stack another line of text ontop of this one, would I have to just declare a Text_new? or is there a way I can input it into the current equation?

Posted: 23 Dec 2006
by Stanley Miller
Value1 = Text_SetString(Text_ID, "MyText") changes the text string expression of the specified text object.