Visual Basic中的Combobox和MaskTextBox [英] Combobox and MaskTextBox in Visual Basic

查看:150
本文介绍了Visual Basic中的Combobox和MaskTextBox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我需要Visual Basic中组合框和masktextbox的帮助.

我有一个包含4个项目的组合框,即:产品,大小,成本和数量产品和尺寸组合框的事件.您可以在其中检查是否满足您提出的规则,以便在被屏蔽的文本框中设置启用状态.


Hello, I need help on combo box and masktextbox in visual basic.

I have a combobox which has 4 items namely: product, size, cost and number

解决方案

The simplest way I know for that is to implement the Focus->Leave event for the Product and Size comboboxes. In there you can check whether the rules you set forth are satisfied so as to set the enabled state on the masked textbox.


这篇关于Visual Basic中的Combobox和MaskTextBox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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