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

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

问题描述

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



那么,你的意见是什么?我应该使用MDI或Tabbed接口吗?

解决方案

MDI是在Windows 3天(或者可能早期?这些天没有得到很好的支持。如果您需要多个不同形式的文档,建议您使用一个标签式界面。使用框架而不是窗体,并创建新的选项卡并在其上放置一个框架,对齐alClient。


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)...

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

解决方案

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和Tabs用于多文档界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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