Print Page | Close Window

[SOLVED]Problem with pane double-click restoring

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=24428
Printed Date: 09 May 2024 at 7:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED]Problem with pane double-click restoring
Posted By: MikeArmstrong10
Subject: [SOLVED]Problem with pane double-click restoring
Date Posted: 25 September 2023 at 8:19am
Hi,

This problem is regarding the double-click action on a pane's title bar to toggle that pane to/from it's last docked/non docked position.

The problem only exists when the ShowContentsWhileDragging option is True.  The IDE is VB6.

The video below illustrates the problem using the SDISample code.  I am using Xtreme SuitePro ActiveX v22.1.0

At the start of the video, ShowContentsWhileDragging is set to FALSE and the behaviour is correct.  When you drag the floating pane G towards the bottom of the docked pane F and drop in the indicated position, pane G becomes docked below pane F.  Double clicking the title bar of pane G restores the pane to it's floating condition in the correct position, ie the position it was last in before being docked.

After setting ShowContentsWhileDragging to TRUE, the same double click incorrectly restores pane G to the position where it was dropped rather than the position where it was before being docked.  In this example, and in our application, this results in the pane being almost completely off-screen and I know this will confuse our end-users.



It is a minor point I know but this means our quality team won't allow ShowContentsWhileDragging  until the usual behaviour can be restored, and I really would like to enable ShowContentsWhileDragging as it looks so much more modern.

Is there anything that I can do to alter this behaviour myself or will it require a code change in the ActiveX control?

Many thanks,

Mike



Replies:
Posted By: agontarenko
Date Posted: 02 October 2023 at 6:00am
Hello,

ShowContentsWhileDragging option allows to have behavior like in Visual Studio, so we consider this normal.

Regards,
Artem Gontarenko



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net