主窗体上的复选框不检查子窗体 [英] Checkbox on main form not checking subform

查看:43
本文介绍了主窗体上的复选框不检查子窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在我的主窗体上获取我的复选框,也可以使用以下代码检查子窗体中的复选框

I am trying to get my checkbox on my main form also to check the checkbox in the subform with the following code

展开 | 选择 | Wrap | 行号

推荐答案

尝试

Try

展开 | 选择 | Wrap | 行号


我之前尝试过这个,但它给了我一个编译错误:找不到方法或数据成员即使我可以在代码一侧的类对象窗口中看到该表单。
I had tried this before however it gave me a Compile Error: "Method or data member not found" even though I can see the form in the Class Objects window at the side of the code.


它是否与放置在制表符控件中的子表单有关系吗?
Does it matter it''s a subform placed in a tab control?


这篇关于主窗体上的复选框不检查子窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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