Got a multi line textbox, auto generated as below:EZ_Text %MAIN_TEXTC, 1.5, 9.5, 41.5, 4.5, "", "EMSV"
Added some code to display 2 lines of text:
Local LineA As String
Local LineB As String
Local DisplayText As String
LineA = "1st line"
LineB = "2nd line"
Problem: Attempting to put text into it results in it all being on one line.
Putting a carriage return and line feed in the middle of the line with Chr$ didn't help:
DisplayText = LineA + Chr$(10) + Chr$(13) + LineB
'Display both in textbox, one above the other
EZ_SetText "Main", %MAIN_TEXTC, DisplayText
This displays the two lines side-by-side with the control characters in between them...
Can the two strings be displayed one above the other (i.e. on 2 separate lines), and if so, how is this achieved?