AnsweredAssumed Answered

Text alignment in a multi line Text Box

Question asked by JOHN GEORGE on Jan 17, 2015
Latest reply on Jan 21, 2015 by Keith Rice

I am working on a solidworks API help example code and trying to get the result inside a textbox

Below is the code and screen shot showing the immediate result window

Because of the property names, the result alignments are different in certain lines

Is it possible to align the " = " and result values vertically as shown in the second picture

 

Debug.Print Chr$(9) & vCustInfoName & Chr$(9) & " = " & Chr$(9) & swModel.GetCustomInfoValue(vConfigName, vCustInfoName)

 

Result

immediate window.png

To get like this

final result.png

Outcomes