10196 : How to add a list of numbers or texts to a Schema time item

Question

Anyone know how to add a list of numbers or texts to a Schema time item such that each number is on a separate line within the text box.

 I’ve tried .
 Dim X As IphDataEntity_SchemaTime
 Set X = phSchemaX1.AddSchemaTime(0)
 X.AddText “1”, 10, 10, 0
 X.AddText “2”, 10, 10, 0

Answer

But the second text overwrites the first.
 the 10’s are pixel coordinates from the top left of the time item
try
 X.AddText “1”, 10, 10, 0
 X.AddText “2”, 10, 30, 0

Leave a Reply