通过文本名称使表单可见 [英] Make Form Visible by Textname

查看:59
本文介绍了通过文本名称使表单可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过**文本名称**显示表单而不是名称和谢谢。

解决方案

这是一种可怕的方法,因为如果你正在寻找的形式尚未创建?如果你有同一份表格的多份副本怎么样?



说真的,如果你认为你必须这样做,你真的需要重新考虑你的设计。


您可以遍历Application.OpenForms-Collection。

现在您可以比较,哪一个具有所需的名称并使其可见。

how can i make a form visible by the **Text name** not the name and thanks .

解决方案

This is a horrible method because what if the form you're looking for hasn't been created yet? How about a case where you've got multiple copies of the same form?

Seriously, if you think you have to do this at all you REALLY need to rethink your design.


You could iterate through the Application.OpenForms-Collection.
Now you could compare, which one has the desired name and make it Visible.


这篇关于通过文本名称使表单可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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