从TextBox清除错误消息 [英] Clear Error Message from TextBox

查看:61
本文介绍了从TextBox清除错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的我现在知道了,谢谢大家。现在我有另一个问题。我正在创建一个错误报告,如果文本框为空,那么它将在另一个文本框中显示一个文本,说明文本框为空白,请输入一个值。等...所以它看起来像这样....

Ok I got it now, thank you everyone for that. Now I have another question. I''m creating an error report from, if a textbox is blank then it''ll display a text in another textbox stating "Textbox is blank, please enter a value" etc... So it will look something like this....

展开 | 选择 | Wrap | 行号

推荐答案

@Jonathan Austin


您可以使用以下内容:
@Jonathan Austin
you can use something like this:
展开 | 选择 | Wrap | 行号


不幸的是,不会,因为我的错误框将与其他文本一起编译,所以我只想删除某些文本。我会写出来以便更好地理解。
Unfortunately that won''t, because my error box will be compiled with other text, so I just want to eliminate certain text. I''ll write it out for better understanding.
展开 | 选择 | Wrap | 行号


所以,你要防止任何组合框被null或空白,并希望在文本框中查看消息而不是msgbox,是吗?
so, you want to prevent any of the comboboxes from being null or blank , and want to view the messages in textbox istead of msgbox, is that right?


这篇关于从TextBox清除错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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