Ticket Q226932
Visible to All Users

Add the capability to activate a tab when dragging an object over it during form-to-form drag-and-drop operations

created 14 years ago

Another interesting component is the new TdxTabbedMdiController.
As we have implemented a lot of drag/drop functionality in our application, we need the possibility to switch from one tab to another.
Is such a handling already implemented?
Bye,
Ronald

Show previous comments (3)

    Hello, Valdemar,
    thanks for your reply.
    Yes, we need the possibility to activate a tab when dragging over it. This would it make possible to allow our application to support drag/drop operations from form to form even when your new TabbedMdi view is activated.
    Bye,
    Ronald

    DevExpress Support Team 14 years ago

      Hello Ronald,
      Thank you for the additional clarification. I have converted this report to a suggestion.
      Do you mind if we make this report public, so that other customers can learn from it?
      Thanks,
      Valdemar

        Hello, Valdemar,
        you are welcome to make this issue public.
        Bye,
        Ronald

        Answers

        created 13 years ago (modified 11 years ago)

        With v2012 vol 1, we have made the Controller and ViewInfo properties public. The attached project demonstrates how to use the ViewInfo property when implementing the drag-and-drop operations that address the request you described above.
        In addition, we introduced the following virtual functions in order to let you implement custom tabbed MDI managers by subclassing from TdxTabbedMDIManager: GetControllerClass, GetPropertiesClass, and GetViewInfoClass.

          Comments (3)

            Hello, Alex,
            great work! Thanks a lot!
            Now I can use the original source code again.
            Bye,
            Ronald

              Hello,
              Does it possible to have a same kind of sample but with files dragged and dropped from Explorer ?
              Like this :
              http://delphi.wikia.com/wiki/Drag_and_Drop
              Best regards,
              Fabrice

              DevExpress Support Team 12 years ago

                Hello Fabrice,
                This question is not directly related to our controls. We just provided the capability to get the tab under the cursor. I suggest you refer to the http://msdn.microsoft.com/en-us/library/windows/desktop/bb776905%28v=vs.85%29.aspx page where you can find helpful information on how to implement this functionality using ShellAPI.

                Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

                Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.