将焦点设置为子窗体中子窗体内的子窗体 [英] set focus to a subform within a subform within a subform
本文介绍了将焦点设置为子窗体中子窗体内的子窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
展开 | 选择 | Wrap | 行号
解决方案
对来自main的第二个嵌套子表单的引用形式是:
展开 | 选择 | Wrap | 行号
我创建了一个带有文本框(Text0)的表单(frmSubform2)
然后我创建了另一个表单(frmSubform1),其上有一个子表单(frmSubform2)。
然后我创建了一个带有子表单(frmSubform1)的表单。
在最终表单的on load事件中,我输入以下代码
展开 | 选择 | Wrap | 行号
Puppydogbuddy在我发布时发布了发布我的。
:)
ok, i have a fairly complicated form that goes three forms deep. i''ve been avoiding this particular dliemma for a while hoping the answer would come to me in a dream or something but i think it''s finally time to pose the question. anyone know how to do this? i can set focus to a subform control by using this:
Expand|Select|Wrap|Line Numbers解决方案the reference to second nested subform from the main form is:
Expand|Select|Wrap|Line Numbers
I created a form (frmSubform2) with a text box (Text0) on it
I then created another form (frmSubform1) with a subform (frmSubform2) on it.
I then created a form with a subform (frmSubform1) on it.
In the on load event for the final form I put the following code
Expand|Select|Wrap|Line Numbers
Puppydogbuddy posted while I was posting mine.
:)
这篇关于将焦点设置为子窗体中子窗体内的子窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆