[Patch] - mousedown_event question?
19 Replies
NI
Ninja
Syncfusion Team
May 27, 2020 07:17 AM UTC
Hi Khanh,
Thanks for contacting Syncfusion support.
We have checked your query “Need to use mouse events on AutoHide panel in DockingManager” and your requirement can be achieved by deriving the AHTabControl from MainFormController and DockHostController to get the AutoHide tab panel. Please refer the below code snippet for same.
C#:
|
private void Form2_Load(object sender, EventArgs e)
{
DockHost dockHost = this.dockingManager1.ControlsArray[0].Parent as DockHost;
DockHostController dockHostController = dockHost.InternalController as DockHostController;
MainFormController mainFormController = dockHostController.ParentController.ToplevelController as MainFormController;
AHTabControl ahTabCtrlLeft = mainFormController.GetAHTabControl(DockingStyle.Left);
ahTabCtrlLeft.MouseUp += AhTabCtrlLeft_MouseUp;
} |
Regards,
Niranjan Kumar Gopalan
TG
The GridLock
May 27, 2020 11:41 AM UTC
Hi Niranjan,
I will try your code soon.
NI
Ninja
Syncfusion Team
May 28, 2020 08:03 AM UTC
Hi Khanh,
Thanks for your update.
We will wait to hear from you.
Regards,
Niranjan Kumar Gopalan
TG
The GridLock
May 28, 2020 10:27 AM UTC
Hi Niranjan,
I want to be able to click on ahtab to move form instead of clicking on the form, I tried with mousedown but it doesn't work, can I do this?
NI
Ninja
Syncfusion Team
May 28, 2020 12:10 PM UTC
Hi Khanh,
Thanks for your update.
Currently we are not able to understand you query. Can you please let us know whether you are trying to re-order AutoHide tabs in DockingManager ? This information will be helpful for us to proceed further.
Regards,
Niranjan Kumar Gopalan
TG
The GridLock
May 28, 2020 12:27 PM UTC
Hi Niranjan,
Can I click on the vertical bar then i can hold leftmouse and drag to move it simultaneously with the form as clicking the titlebar then drag to move form?
NI
Ninja
Syncfusion Team
May 29, 2020 10:17 AM UTC
Hi Khanh,
Thanks for your update.
We are currently analyzing the requested query and we will update you the details on July 2,2020. We appreciate your patience until then.
Regards,
Niranjan Kumar Gopalan
NI
Ninja
Syncfusion Team
June 2, 2020 12:05 PM UTC
Hi Khanh,
Thanks for your patience.
We have checked your requirement and we have logged the mouse down event not functioning as issue. The fix for this issue will be included in Volume 2 release which will roll out by end of June 2020. Can you wait until official release ? Otherwise it will be included in weekly NuGet which will roll out by mid of next week. We appreciate your patience until then.
Regards,
Niranjan Kumar Gopalan
TG
The GridLock
June 2, 2020 01:14 PM UTC
Hi Niranjan,
I hope before the 15th, I can use it. It is urgent to me now.
Thanks!
NI
Ninja
Syncfusion Team
June 3, 2020 11:17 AM UTC
Hi Khanh,
Thanks for your update.
The fix will be available in next week Weekly NuGet package which will roll out by mid of next week. Otherwise if you are using Syncfusion release version, we can provide you patch in that version on June 9, 2020. If so please share us your current Syncfusion version.
Note: Patch will not be provided for Weekly NuGet versions.
Regards,
Niranjan Kumar Gopalan
TG
The GridLock
June 3, 2020 03:50 PM UTC
hi, Niranjan
my version is 18.0.142. thanks!
NI
Ninja
Syncfusion Team
June 4, 2020 07:13 AM UTC
Hi Khanh,
Thanks for your update.
We will provide the patch for the reported issue on promised date in your version 18.1.0.42. We appreciate your patience until then.
Regards,
Niranjan Kumar Gopalan
TG
The GridLock
June 7, 2020 10:31 AM UTC
Hi Niranjan,
Attachment: Screenshot_5_29ccdb85.rar
When I right-click the autohidetab I see a list of tabs names, I want to have a close option (close all tabs and forms), previously i have hidden all close buttons ( on the form and panel). can i custom this contextmenu?
I have prepared photos for you to imagine
Thanks!
Attachment: Screenshot_5_29ccdb85.rar
NI
Ninja
Syncfusion Team
June 8, 2020 07:09 AM UTC
Hi Khanh,
Thanks for your update.
We have checked your query “Need to add close item in AutoHide tab panel context menu” and your requirement can be achieved by using the AutoHideTabContextMenu event as shown in the below code snippet. Please refer the same and attached video.
C#:
|
public Form2()
{
InitializeComponent();
dockingManager1.AutoHideAnimationStop += DockingManager1_AutoHideAnimationStop;
dockingManager1.AutoHideTabContextMenu += DockingManager1_AutoHideTabContextMenu;
}
private void DockingManager1_AutoHideTabContextMenu(object sender, AutoHideTabContextMenuEventArgs arg)
{
BarItem barItem = new BarItem() { Text = "Close" };
barItem.Click += BarItem_Click;
arg.ContextMenu.ParentBarItem.Items.Add(barItem);
}
private void BarItem_Click(object sender, EventArgs e)
{
MessageBox.Show("Requirement can be achieved");
} |
Regards,
Niranjan Kumar Gopalan
TG
The GridLock
June 8, 2020 08:25 AM UTC
Hi Niranjan,
Exactly what I need.
Thanks!
NI
Ninja
Syncfusion Team
June 8, 2020 08:56 AM UTC
Hi Khanh,
Thanks for your update.
We are glad to know that your requirement has been achieved. We are happy to help as always.
Regards,
Niranjan Kumar Gopalan
NI
Ninja
Syncfusion Team
June 9, 2020 10:13 AM UTC
Hi Conor,
Thanks for your patience.
The reported issue has been fixed and included in the patch which can be download from the below links.
|
Recommended approach - exe will perform automatic configuration.
Please find the patch setup from below location:
Patch link :
http://syncfusion.com/Installs/support/patch/18.1.0.42/1174432/F154603/SyncfusionPatch_18.1.0.42_1174432_6092020045459455_F154603.exe Please find the patch assemblies alone from below location:
Assemblies Link:
Nuget link:
|
Assembly Version: 18.1.0.42
Installation Directions:
This patch should replace the files "Syncfusion.Tools.Windows” under the following folder.
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\18.1.0.42\precompiledassemblies\18.1.0.42\4.6
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.
Disclaimer:
Please note that we have created this patch for version 18.1.0.42 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received. Please let us know, if you are using any other Syncfusion version, we will provide patch in your version.
Note : The MouseDown event of AhTabControl can only be enabled by disabling the EnableDragAutoHiddenTabs property of DockingManager. Your requirement can be achieved by using the below sample. Please refer the below video for same.
Sample : https://www.syncfusion.com/downloads/support/forum/154603/ze/AhTabControl_MouseDown_(1)763131071
Regards,
Niranjan Kumar Gopalan
TG
The GridLock
June 9, 2020 07:28 PM UTC
Hi Niranjan,
Great, thanks for the support!
NI
Ninja
Syncfusion Team
June 10, 2020 04:19 AM UTC
Hi Khanh,
Thanks for your update.
We are glad to know that reported requirement has been achieved.
Regards,
Niranjan Kumar Gopalan
SIGN IN To post a reply.
- 19 Replies
- 2 Participants
-
TG The GridLock
- May 26, 2020 11:08 AM UTC
- Jun 10, 2020 04:19 AM UTC