Delphi, MDI vs Tabs 用于多文档界面 [英] Delphi, MDI vs Tabs for multi-document interface

查看:17
本文介绍了Delphi, MDI vs Tabs 用于多文档界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个多文档应用程序.目前它使用 MDI,这对我(作为开发人员)以及我相信的用户来说都非常方便.但是有一个反对" - 我还没有找到快速加载许多子窗口的解决方案(每次创建并最大化窗口以填充父区域时,到目前为止,有一个调整大小的动画"需要很多时间),因此我正在考虑切换回选项卡式界面(这需要更多的工作,我需要在页面表中嵌入"一个表单,因为那里有许多种类"的表单可用,一些用于编辑文本文档,一些用于其他对象)...

I'm developing a multi-document application. Currently it uses MDI which is quite convenient for me (as a developer) as well as for users I believe. However there is one "against" - I haven't found a solution to quickly load many child windows (each time the window is created and maximized to fill the parent's area, there is an 'animation' of resizing which takes a lot of time) so far, thus I'm considering switching back to tabbed interface (which requires some more work, I need to "embed" a form to the page sheet, as there are many "kinds" of forms available, some for editing text documents, some for other objects)...

那么,你的意见是什么?我应该使用 MDI 还是选项卡式界面?

So, what is your opinion? Should I use MDI or tabbed interface?

推荐答案

MDI 是在 Windows 3 天(或者可能更早?)开发的,现在没有得到很好的支持.如果您需要具有不同形式的多个文档,我建议使用选项卡式界面.使用框架而不是表单,并创建新选项卡并在其上放置一个框架,对齐 alClient.

MDI was developed back in the Windows 3 days (or possibly earlier?) and isn't well-supported these days. If you need multiple documents with different forms, I'd recommend using a tabbed interface. Use frames instead of forms, and create the new tabs and place a frame on it, aligned alClient.

这篇关于Delphi, MDI vs Tabs 用于多文档界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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