Delphi / C ++ Builder对接库的建议? [英] Recommendations for a docking library for Delphi / C++Builder?

查看:297
本文介绍了Delphi / C ++ Builder对接库的建议?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的团队正在考虑将现有的基于MDI的应用程序移植到更现代化的基于坞站的方法。我们仍然在想,但我们希望将其移至像VS2010的对接和视觉外观之类的位置:





这有以下功能:




  • 显示窗口将停靠的混合轮廓

  • 将其插入选项卡,并排并排

  • 允许通过拖放放置显示码头位置的图像进行对接(我称之为下面的停靠小部件)

  • 看起来还不错(主题/ UI-wise )



我无法找到与RAD Studio 2010配合使用的优质对接库, strong>在任何图书馆,我还没有找到,或如何使用我发现这样的东西。




  • 更新:我最终购买了

    这看起来很有希望:虽然它似乎没有直接停靠形式,它有对接面板和控制/框架放置在那上面。现有的表单可以迁移到框架。它还有一个对接窗口小部件和标签式支架。



    但是,演示似乎相当不可靠。我已经安装了最新的评估版本,并创建了一个带有Dock站点和几个面板并按Run的新项目,导致以下情况:





    这是在表单组件流中崩溃。目视检查DFM文件没有显示任何错误,但是有可能导致它的布局信息的不透明的二进制Blob。这在评估版本中不是特别令人鼓舞。





    <一个href =http://www.automatedqa.com/products/aqdocking/ =nofollow noreferrer> AutomatedQA / SmartBear对接库



    这是迄今为止所有图书馆中最有希望的。





    我经常使用 AQTime ,这是一个优秀的分析器,它似乎是使用自己的对接库编写的,它运行良好。然而,最新版本的对接库试用版是为RAD Studio 2009提供的,2010年安装的建议是不受支持,您应该重新编译源代码。演示不是源码,我们没有RS2009,安装程序拒绝安装,除非我们这样做,即使我们管理安装,我们无法使用它,因为我们需要重新编译不存在的来源。



    我已经与他们的支持小组联系,他们指出我这个线程。我还发现另一个线程是。我已经回复并希望听到更好的消息。我不喜欢推荐我们购买不能评估的产品,特别是当我们的IDE不支持时。





    我错过了什么?



    这是迄今为止我发现的一切。现在是什么?




    • 我错过了Delphi / C ++ Builder / RAD Studio 2010的任何良好的对接库?

    • 到目前为止,我看过图书馆的任何功能? 你错过了FooBar或JVCL确实有一个对接窗口小部件,你可以像这样使用...这样的答案听起来真的很棒。

    • 推荐作为我的下一步?



    感谢您的输入:)

    解决方案

    我已经使用JCL,我有LMD,DevExpress和自动QA对接库。



    最接近你会遇到你的需要的是AutomatedQA Docking Library。我在我的工作中使用它。



    您的下一步,购买AutomatedQA库:)



    从快乐的客户。


    My team is currently thinking of moving our existing MDI-based application to a more modern, docking-based approach. We're still thinking, but we'd like to move it to something like VS2010's docking and visual look:

    This has the following features:

    • Shows a blended outline where the window will dock
    • Docks into tabs, as well as side-by-side
    • Allows docking by dragging and releasing over an image showing the dock position (I call this a 'docking widget' below)
    • Looks pretty good too (theme / UI-wise)

    I am having trouble finding a good-quality docking library to use with RAD Studio 2010 and am seeking advice on either what library/ies I haven't found, or how to use the ones I have found to achieve something like this.


    • Update 2, July 2011: This question looked at every single docking library available for Delphi/C++Builder, so I'm trying to keep it up to date. Two changes that I'm aware of:
      • SmartBear, who now own AutomatedQA, have end-of-lifed AutomatedQA's docking library. This the one one I recommended buying. They are considering open-sourcing it.
      • The one problem I had with DevExpress docking (that made it not worthy buying) was its lack of support for VS2008/10-style docking, with a docking widget, transparent overlay as you dragged, etc. They are now implementing it. Because of this, and since AQDocking is no longer being sold, if I asked this question now my accepted answer would be to buy DevExpress Docking.

    I've found the following libraries. Here's an overview:

    Inbuilt VCL docking

    This allows forms to be docked on other forms or TWinControls, but appears to be quite basic. Forms drag using an XOR painted outline, which works very badly on Vista and Win7. There is a TTabDockSet control for tabbed docked forms, but I can't figure out how to control how the docked forms' titles render once docked. I think implementing docking side-by-side will have to be done manually, creating new docksite panels on the fly. The RAD Studio IDE's docking windows are a bit slicker than this (transparent rectangles when dragging a form, for example) which is odd, since I thought it used the VCL docking support.

    JVCL docking

    This looks a bit more of a decent solution that the inbuilt VCL docking. It supports docking on any edge or the client, and shows an alphablended rectangle where the form will dock.

    It appears to be quite buggy (dropping a second form on top of a first is allowed, but freezes the program) and has no inbuilt tabbed dock support or any kind of drop-location widget.

    LMD Docking Pack

    This looks promising: while it doesn't seem to directly dock forms, it has docking panels and controls / frames are placed on that. Existing forms could be migrated to frames. It also has a docking widget and tabbed dock support.

    However, the demo seems to be quite unreliable. I've got the latest evaluation version installed, and creating a new project with a dock site and several panels and pressing Run causes the following:

    This is crashing in the form component streaming. Visually examining the DFM file doesn't show anything wrong, but there's an opaque binary blob for the layout information that may be causing it. This is not especially encouraging in an evaluation version.

    DevExpress ExpressDocking

    I had high hopes for this: I've never used any DevExpress controls before but they have a good reputation. But their demo program was really disappointing:

    The control is flickery and doesn't seem to theme well with Windows, even using the XP style. It does have tabbed docking but it uses an XOR-ed outline - something that doesn't work well on XP or Vista. It also does not have any sort of docking widget. Frankly, it looks like it hasn't been updated since the Windows XP days. Update July 2011: This is being improved.

    AutomatedQA / SmartBear docking library

    This is the most promising of all the libraries so far.

    I regularly use AQTime, an excellent profiler which appears to be written using their own docking library, and it works well. However, the latest version of the docking library trial download is for RAD Studio 2009, and the advice given for installing into 2010 is that it's unsupported, and you should recompile the source. The demo doesn't come with source, and we don't have RS2009, and the installer refuses to install unless we do, and even if we manged to get it to install we can't use it since we would need to recompile the non-existent source.

    I've been in touch with their support team, and they pointed me to this thread. I also found another thread with customers asking much the same thing. I've replied and hope to hear better news. I'm not keen to recommend we buy a product I can't evaluate, especially when it's not supported for our IDE.

    • Update: I have ended up buying this library. In spite of problems evaluating (it works in D2007, and I had a copy of that) it seems the easiest to use of all the libraries, and also the most powerful - it's easy to write a theme for it, for example. I'd definitely recommend it if you need to select a docking library too.

    • Update July 2011: This library is no longer being sold, but may be open-sourced soon.

    What have I missed?

    That's everything I've found so far. What now?

    • Have I missed any good docking libraries for Delphi / C++ Builder / RAD Studio 2010?
    • Have I missed any features in the libraries I've lookd at so far? An answer like "You missed FooBar" or "JVCL does indeed have a docking widget, and you can use it like so..." would be pretty awesome to hear.
    • What would you recommend as my next step?

    Thanks for your input :)

    解决方案

    I have used JCL, I have LMD, DevExpress and Automated QA Docking Library.

    The closest you will find that will meet your need is the AutomatedQA Docking Library. I use it in my work for one of my projects.

    Your next step, buy the AutomatedQA Library :)

    from a Happy Customer.

    这篇关于Delphi / C ++ Builder对接库的建议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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