我具有Access 2007表单,并且我想测试特定控件(切换按钮)是否具有焦点,
类似:
if gotfocus(mytoggle) then dosomething endif
或者也许像:
if me.mytoggle.setfocus = true then dosomething endif
我已经搜索过,但是找不到,有人可以告诉我什么是正确的上衣吗?
此为当前表格:
不幸的是,某些情况下.ActiveControl是temporary