[Patch] -DockStateChanged question?

Hi,
I want to ask about the effect of this parameter (arg.newstate and arg.oldstate), I realize that it always returns 0.

Private Sub f_DocM_DockStateChanged(sender As Object, arg As DockStateChangeEventArgs)
dim r =arg.newstate 
dim r = arg.oldstate
end sub
More question: I added treeview to panel, then I hide all control in panel in dockstatechange event (hide to autotab), but treeview's scrollbar cannot hide, please check it.



23 Replies 1 reply marked as answer

UN Unknown Syncfusion Team July 3, 2020 06:42 AM UTC

Hi Khanh, 
 
Thanks for contacting Syncfusion support. 
                                                 
We have checked your query “NewState and OldState value of args in DockStateChanged event in DockingManager is not working properly” and logged it as defect. The fix for this issue will be included in Volume 2 SP1 release which will roll out by end of July, 2020. Can you wait until official release ? Otherwise if you can share us your current syncfusion version , we will provide patch in that version on July  17, 2020. Please refer the below feedback for same. And for query “TreeViewAdv horizontal scroll bar does not hide when it’s parent panel is AutoHidden” and it is the default behavior of TreeViewAdv to show horizontal scroll bar when the width of nodes exceed TreeViewAdv width. Please refer the below screenshots for same. This is performed by hiding the panels in DockStateChanged event of DockingManager. 
 
 
 
Screenshot: 
1.      TreeViewAdv with large content: 
 
2.      TreeViewAdv with normal content: 
 
Regards, 
Niranjan Kumar Gopalan 
 
 



TG The GridLock July 3, 2020 07:54 AM UTC

Hi Niranjan ,
Thanks for the info, I got it.
My current version is 18.1.042. I hope there is a patch soon to be able to use it instead of other events.


UN Unknown Syncfusion Team July 3, 2020 07:57 AM UTC

Hi Khanh, 
 
Thanks for your update. 

We will completely test the fix and provide you patch on or before the promised date in your Syncfusion version. We appreciate your patience until then. 
 
Regards, 
Niranjan Kumar Gopalan 
 



UN Unknown Syncfusion Team July 17, 2020 12:03 PM UTC

Hi Khanh   
   
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 :   
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.   
   
Regards,   
Niranjan Kumar Gopalan   




TG The GridLock July 18, 2020 07:47 AM UTC

Great ! Niranjan .


TG The GridLock July 18, 2020 09:01 AM UTC

Hello Niranjan ,
It seems mousedown on autohidetab does not work, can you quickly check it for me?
If this is true, I would expect a patch for syncfusion.tools.windows.dll version 4.6.


UN Unknown Syncfusion Team July 20, 2020 06:15 AM UTC

Hi Khanh, 

Thanks for your update. 

We have checked your query “MouseDown event on AutoHideTab does not work properly” and this is the default behavior of DockingManager AHTabControl. The mouse down event will work for AhTabControl. This behavior is similar to that of the TabControlAdv control. Please refer the mentioned control for comparison. 

Regards, 
Niranjan Kumar Gopalan 



TG The GridLock July 20, 2020 09:21 AM UTC

Hi Niranjan ,
Can you use mouse down on autohidetab to drag docking(and form) or not? I tried but it didn't moved as this 


UN Unknown Syncfusion Team July 20, 2020 10:50 AM UTC

Hi Khanh, 

Sorry for the inconvenience caused. 

We have checked your query “Mousdown event of AhTabControl does not work(which works only when EnableDragAutoHiddenTabs is disbaled) after recent patch” and we are able to reproduce the reported issue. And we will provide patch for the issue on July 22, 2020. We appreciate your patience until then. 

Regards,                                                                                                                                    
Niranjan Kumar Gopalan 



UN Unknown Syncfusion Team July 22, 2020 11:35 AM UTC

Hi Khanh   
   
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 :   
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.   
   
Regards,   
Niranjan Kumar Gopalan  
 



TG The GridLock July 22, 2020 09:37 PM UTC

Hi Niranjan ,
I tried with .dll in nudget and replaced .dll in patch but it didn't work.
After running the exe, now it seems that it. I will check it soon.


UN Unknown Syncfusion Team July 23, 2020 09:04 AM UTC

Hi Khanh, 

Thanks for your update. 

We have checked the MouseDown event of AhTabControl click with the latest provided patch and it works fine. Please refer the below sample which contains the provided patch and video of working for same. 

 

Regards, 
Niranjan Kumar Gopalan 



TG The GridLock November 1, 2020 03:30 AM UTC

Hi Niranjan Kumar,
I have been waiting for the highlight baritem feature on the contextmenu (vertical autohidetab) but it doesn't seem to be added yet
Can you tell me when it can be updated? I see other themes still working but metro doesn't!




2nd question: after float my panel, basically I have 2 windows (form and panel), I want to hide the form only. If my form's property: formborderstyle.fixed3d ... then no problem will happen. But if my form is set to formborderstyle.none now the statement this.WindowState = FormWindowState.Minimized will hide both.
How do I solve this?


EM Elakkiya Muthukumarasamy Syncfusion Team November 2, 2020 11:43 AM UTC

Hi Khanh, 

Sorry for an inconvenience caused.  

Query1: highlight baritem feature on the contextmenu (vertical autohidetab) not added 

We could not track the feature in your incident history. So could you please share the feedback link , if you were reported the feature “highlight baritem support on the contextmenu (vertical autohidetab)”. Also, please provide us the issue reproducing sample and video, It would be helpful for us to analyze and provide you the prompt solution on this 
 

Query2:While having  2 windows (form and panel), I want to hide the form only. 

Can you please confirm us which form you are  using, we have SfForm, MetroForm, Office2007Form, Office2010Form. It would be helpful for us to analyze and provide you the prompt solution on this. 

Regards, 
Elakkiya 



TG The GridLock November 2, 2020 01:01 PM UTC

Hi Elakkiya,
from this post, I Need to highlight bar item in context menu in in DockingManager (it worked with other themes except metro)


in 2nd question, I am using system.form and dockingmanager.

with the following settings:
  • Formborderstyle.none
  • Form.showintaskbar = false
then I used the rightclick event to trigger minimization with code:
  • this.WindowState = FormWindowState.Minimized
Now both the form and the panel are minimized (but normally I see only form -> minimized , and the panel is still floating)


BR Bharathi Rajakantham Syncfusion Team November 3, 2020 02:43 PM UTC

Hi Khanh, 


Sorry for the inconvenience, 

We are checking the reported query from our side .We will update you the further details on 5th Nov 2020.Please let us know if you have anyother concerns. 

Regards, 
Bharathi R 



BR Bharathi Rajakantham Syncfusion Team November 5, 2020 02:31 PM UTC

Hi Khanh, 
 
Thanks for your Patience, 
 
Query1: Highlight baritem feature on the contextmenu (vertical autohidetab) not added  
 
Considering the importance, requests and global usage of this feature request, we don’t have any immediate plan to implement this. we will consider it in any of our upcoming release. 
 
Query 2:Form and Panel are not  Minimized 
 
We have checked your query by adding a docking manager and panel to the form and set the FormBorderStyle as None and ShowInTaskbar as false and Minimized the windowstate in the rightclick mouse event .The form and the panel is minimizing properly.Please check the sample and the video for your reference. 
 
 
 
 
 
 
 
Please ensure the sample and the video whether our replication procedure is same as yours.If not please share us your issue reproducing sample and the video it will be helpful for us to provide a prompt solution on this. 
 
Regards, 
Bharathi R 



TG The GridLock November 5, 2020 03:29 PM UTC

hi Bharathi,
query1: Please watch my video
You see that the baritem is highlighted with other themes, but the first metro theme doesn't show
query2:
I want to hide the form but still float panel (is there any way?)
I did it before but after changing some settings now the code hides both.

I have more questions: 
query3: from my video you can see when I change the darkgray theme, the caption backcolor doesn't change (still dark-blue), I want to ignore this (so the color sync with the theme is darkgray) 
how i do this?


BR Bharathi Rajakantham Syncfusion Team November 6, 2020 03:52 PM UTC

Hi Khanh, 
 
 
Thanks for your update, 
 
We are checking the reported query from our side.We will update you the further details on 10th Nov 2020. 
 
Please let us know if you have anyother concerns. 
 
Regards, 
Bharathi R 



BR Bharathi Rajakantham Syncfusion Team November 10, 2020 04:45 PM UTC

Hi Khanh,  
 
Sorry for the inconvenience, 
 
We are still checking the reported query from our side.We will update you the further details on 12th Nov 2020.  
Please let us know if you have anyother concerns.  
 
Regards,  
Bharathi R 



TG The GridLock November 11, 2020 12:12 PM UTC

ok Bharathi ,

In query 3: I want to clarify that, i want omit the color activecaption backcolor, I only need a color that is in sync with its theme!


BR Bharathi Rajakantham Syncfusion Team November 12, 2020 04:37 PM UTC

Hi Khanh, 
 
 
Thanks for your Patience,  
 
  
Query 1:Theme not applying for context menu in Metro Theme 
 
We have confirmed the reported issue “Theme not applying for context menu in Metro Theme” is a defect and logged a report on this.The patch for this fix is estimated to be available on 3rd Dec 2020.  
 
  
You can track the status of this defect using the following feedbacklink.  
  
  
 
Query 2:Need to hide the form but still float panel  
 
We have checked your query with visualstudio we have floated the toolbox in visualstudio and minimized the window and observed that our control works like the same and it is the expected behavior.Please check the video for your reference. 
 
 
 
Query 3: Caption backcolor doesn't change 
 
 
We have checked your query by changing the themes and the caption color changing properly for usin metro and other themes.If you have set the ActiveCaptionBackcolor property in your sample it will be reflected in the caption and color synced with the theme will not be applied.Please check the sample and the video for your reference. 
 
 
 
 
 
 
Please ensure the sample and the video and confirm us whether our replication procedure is same as yours.If not please share the issue reproducing sample and the video.it will be helpful for us to provide a prompt solution on this. 
 
 
Regards,  
Bharathi R  



EM Elakkiya Muthukumarasamy Syncfusion Team December 3, 2020 12:45 PM UTC

Hi Khanh, 
    
Thanks for your patience.            
 
Query 1:Theme not applying for context menu in Metro Theme                             
   
The reported issue “Theme not applied for context menu in metro Theme on Mouseover has been fixed.  
 
This 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 :    
Please find the patch assemblies alone from below location:    
    
Assemblies Link:    
    
Nuget link:     
   
    
Assembly Version: 18.3.0.47   
    
Installation Directions:    
This patch should replace the files "Syncfusion.Tools.Winforms” under the following folder.    
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]    
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\18.3.0.47\precompiledassemblies\18.3.0.47\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.3.0.47 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. 
    
Regards,    
Elakkiya 


Marked as answer
Loader.
Up arrow icon