SetFocus并处理这些文本框 [英] SetFocus and dealing with these textboxes

查看:79
本文介绍了SetFocus并处理这些文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先我得到的错误是"你不能引用控件的属性或方法,除非......" blah blah blah
First I get the error saying "you can't reference a property or method for a control unless..." blah blah blah

推荐答案

您好,

几个问题:您的代码属于哪个事件?您是否在代码和属性表中检查了控件的名称是否相同?

A couple of questions: What event your code belongs to? Did you check that the name of your control in code and in Property sheet is the same?

我建议始终在控件的名称前使用 Me。,以便你可以获得intellisense(IntelliSense是微软自动完成的实现)。

I suggest always using Me. before the control's name, so that you can get intellisense (IntelliSense is Microsoft 's implementation of autocompletion).

Nadia


这篇关于SetFocus并处理这些文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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