错误2185 - 无焦点控制 [英] Error 2185 - Control w/o Focus

查看:72
本文介绍了错误2185 - 无焦点控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在此控制框中执行任何操作时,有谁可以看到为什么我一直收到此错误。

Can anyone see why I keep getting this error when I do anything in this control box.

推荐答案

我无法重现您的问题,即使我从代码中取出所有SetFocus调用。 无论如何,在组合框的Change事件中它们不是必需的。 也许你的组合框的配置方式有些奇怪,虽然它对我来说不是很明显可能是什么。

I can't reproduce your problem, even if I take all the SetFocus calls out of the code.  They shouldn't be necessary in the combo box's Change event, anyway.  Maybe there's something odd about the way your combo box is configured, though it isn't obvious to me what that could be.

哪行代码会引发错误?  ;您是否尝试过设置断点并逐步执行代码以查看会发生什么?

What line of code raises the error?  Have you tried setting a breakpoint and stepping through the code a line at a time to see what happens?


这篇关于错误2185 - 无焦点控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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