如何从我的软件的所有打开的表单中获取列表? [英] How to get a list from all opened forms of my software?
本文介绍了如何从我的软件的所有打开的表单中获取列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要求用户在终止我的申请之前关闭所有已打开的表单。
I want to ask the user to close all opened forms before terminate my application.
如何自动从打开的表单中获取列表?
How can I automatically get a list from opened forms?
我使用的是Delphi 2006,并且不使用表单的自动创建,但是我使用自动创建的表单引用的 var
与 Application.CreateForm
。
I'm using Delphi 2006, and don't using form's Auto-Create, but I'm using the auto created form's referenced var
with Application.CreateForm
.
我的问候。
推荐答案
看看 屏幕。 FormCount
和 Screen.Forms
。
这篇关于如何从我的软件的所有打开的表单中获取列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文