首页> 外文期刊>Inside Microsoft Visual Basic >QUICK TIPS: Don't take chances with numeric entries; take control with the NumericUpDown object (VB .NET)
【24h】

QUICK TIPS: Don't take chances with numeric entries; take control with the NumericUpDown object (VB .NET)

机译:快速提示:不要随意输入数字;通过NumericUpDown对象(VB .NET)进行控制

获取原文
获取原文并翻译 | 示例

摘要

If you've ever had to include a numeric text field on a form, then you know all the extra work that's needed to make sure the user is supplying a valid value. You either have to add code to prevent undesirable values or add code to notify the user after he's entered one. Of course, you can accept numeric entries without worry when you use the NumericUpDown control instead of a standard Textbox. Some of the great features of this control include:
机译:如果您曾经必须在表单上包含数字文本字段,那么您将知道确保用户提供有效值所需的所有额外工作。您必须添加代码以防止出现不想要的值,或者添加代码以在用户输入值后通知用户。当然,当您使用NumericUpDown控件而不是标准Textbox时,可以接受数字输入而不必担心。此控件的一些强大功能包括:

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号