Delphi,MDI和Tabs用于多文档界面 [英] Delphi, MDI vs Tabs for multi-document interface
问题描述
那么,你的意见是什么?我应该使用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屋!