开发者

C# not drop a line in text box when the text is longer than the box width

开发者 https://www.devze.com 2023-03-17 13:12 出处:网络
I am writing an app in c# with windows form (.net 3.5), I am using a text box and I want to know if there is a way that when the user inserts text to the text box and the text is longer then the box w

I am writing an app in c# with windows form (.net 3.5), I am using a text box and I want to know if there is a way that when the user inserts text to the text box and the text is longer then the box width, it will not drop a line, It will Continue in 开发者_运维技巧the same line.

Thanks


Set text box property WordWrap to false.

0

精彩评论

暂无评论...
验证码 换一张
取 消