语法
表达式.GotFocus
表达式 一个代表 OLEObject 对象的变量。
返回值无
示例
当“ListBox1”获得输入焦点时,将运行本示例。
function ListBox1_GotFocus() { // runs when list box gets the focus }