Skip to main content
added 74 characters in body
Source Link

Here is the text assigned to the Text property(pardon the bad quality):

enter image description here

I have copied the text straight from the TextBox on the form, copied it into notepad++ and shown all characters. As you can see everything is well aligned.

Here is how the TextBox looks in the form:

enter image description here

It seems the spacing is now all screwed up. What could be the problem?

Edit: The TextBox is set to true for MultiLine, ReadOnly and WordWrap.

Here is the text assigned to the Text property(pardon the bad quality):

enter image description here

I have copied the text straight from the TextBox on the form, copied it into notepad++ and shown all characters. As you can see everything is well aligned.

Here is how the TextBox looks in the form:

enter image description here

It seems the spacing is now all screwed up. What could be the problem?

Here is the text assigned to the Text property(pardon the bad quality):

enter image description here

I have copied the text straight from the TextBox on the form, copied it into notepad++ and shown all characters. As you can see everything is well aligned.

Here is how the TextBox looks in the form:

enter image description here

It seems the spacing is now all screwed up. What could be the problem?

Edit: The TextBox is set to true for MultiLine, ReadOnly and WordWrap.

Source Link

Strange behaviour with TextBox not showing string properly

Here is the text assigned to the Text property(pardon the bad quality):

enter image description here

I have copied the text straight from the TextBox on the form, copied it into notepad++ and shown all characters. As you can see everything is well aligned.

Here is how the TextBox looks in the form:

enter image description here

It seems the spacing is now all screwed up. What could be the problem?