如何更改文本框的高度

编程入门 行业动态 更新时间:2024-10-24 16:25:28
本文介绍了如何更改文本框的高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想更改文本框的高度,组合框 当我从属性窗口将高度更改为25时,点击标签按钮后显示其先前的值23

I want to change height of text box,combo box When I change height to 25 from properties window ,after hitting tab button it is showing its previous value 23

推荐答案

单行TextBoxes就是这样! :笑:它们的自动大小适合字体 - 所以如果你想要一个更大的文本框,你需要放大字体,或者将TextBox设置为MultiLine。 Single line TextBoxes are like that! :laugh: They auto size to fit the Font - so if you want a bigger text box, you need to enlarge the Font, or set the TextBox to MultiLine.

如果你没有''我想使用多行 TextBox 然后你可能需要增加 TextBox 本身的字体大小,参见:更改文本框高度? [ ^ ]在 Stack Overflow 。 If you don''t want to use a multiline TextBox then you probably have to increase the fontsize of the TextBox itself, see:"Change the Textbox height?"[^] at Stack Overflow.

更多推荐

如何更改文本框的高度

本文发布于:2023-11-03 16:07:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1555529.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文本框   如何更改   高度

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!