如何创建同一表单的多个实例? [英] How to create multiple instances of the same form?

查看:64
本文介绍了如何创建同一表单的多个实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法指定选择一个Switchboard选项(显示一个表单)创建该表单的另一个实例v。将焦点更改为现有的?

Is there a way to specify that selecting a Switchboard option (that brings up a form) creates another instance of that form v. changing focus to the existing one?

推荐答案

打开表单的多个实例可能有点棘手。这个演示应该可以帮到你。





Opening Multiple Instances of a Form can be a little tricky. This Demo should help you out.
附加文件
Multiple Form Instances.zip (17.6 KB,570 views)
Attached Files
Multiple Form Instances.zip (17.6 KB, 570 views)


谢谢你。几个问题:


我假设OpenAClient中的代码是我需要实现的?该代码中提到的集合的目的是什么?这些名字有点神秘,所以我对理解该模块中正在发生的事情的含义感到非常不确定。什么是标题?为我做什么?


另外,为什么有一个特殊的模块来关闭表格?为什么用户不能只关闭他们想要的任何实例?
Thanks for this. A couple of questions:

I''m assuming that the code in OpenAClient is what I''d need to implement? What is the purpose of the collection mentioned in that code? The names are a little cryptic, so I feel very uncertain about understanding the implications of what''s going on in that module. What does a "caption" do for me?

Also, why is there a special module to close forms? Why can''t the user just close whichever instance they want to?



我假设OpenAClient中的代码是什么我需要实施?
I''m assuming that the code in OpenAClient is what I''d need to implement?



Correctamundo!

Correctamundo!


该代码中提到的集合的目的是什么?
What is the purpose of the collection mentioned in that code?



持有和管理各种表格实例。

To hold and manage the various Form Instances.


名字有点神秘,所以我对于理解该模块中正在发生的事情的含义感到非常不确定。什么是标题?为我做什么?
The names are a little cryptic, so I feel very uncertain about understanding the implications of what''s going on in that module. What does a "caption" do for me?



表格的所有实例都与Name相同,所以Caption是一种从另一个方面告诉的方法。

All Instances of a Form are exactly the same as far as Name goes, so the Caption is a method of telling one from another.


另外,为什么有一个特殊的模块来关闭表格?为什么用户无法关闭他们想要的任何实例?
Also, why is there a special module to close forms? Why can''t the user just close whichever instance they want to?



是的,用户可以手动关闭他/她想要的实例。

Yep, the User can manually Close an Instance he/she wants to.


这篇关于如何创建同一表单的多个实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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