如何在Visual Basic 2008 Express Edition中的文本框中显示百分比格式 [英] How to Show the percentage format in the text box in Visual Basic 2008 Express Edition

查看:68
本文介绍了如何在Visual Basic 2008 Express Edition中的文本框中显示百分比格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
如何在文本框中以百分比格式显示输入值.如果是这样,您可以使用带有##.##%MaskedTextBox 作为掩码,尽管这将不允许100.00作为输入.


Hi guys,
How to display the input value in the text box as percentage format.

解决方案

Do you want to force that as a mask? If so you could use a MaskedTextBox with ##.##% as mask, although that won''t allow 100.00 as input.


这篇关于如何在Visual Basic 2008 Express Edition中的文本框中显示百分比格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆