This code is from V8 and VB – you may be able to make it useable in E10
Good Luck
Private Sub DisableTabFloating(Optional ByRef ctls As System.Windows.Forms.Control.ControlCollection = Nothing)
' Enumerate the forms controls looking for the Epicor dock manager
If ctls Is Nothing Then ctls = oTrans.EpiBaseForm.Controls
For Each ctl As Control In ctls
If ctl.HasChildren Then DisableTabFloating(ctl.Controls)
If TypeOf(ctl) Is Infragistics.Win.UltraWinDock.WindowDockingArea Then
Dim objDockManager As Object = ctl.GetType ().InvokeMember("DockManager", BindingFlags.GetProperty Or BindingFlags.NonPublic Or BindingFlags.Instance Or BindingFlags.IgnoreCase, Nothing, ctl, Nothing)
' Once found get a handle to the Infragistics dock manager using relection
Dim udm As Infragistics.Win.UltraWinDock.UltraDockManager = CType (objDockManager, Infragistics.Win.UltraWinDock.UltraDockManager)
' Loop through all the panels disabling the undocking behaviour
For Each p As Infragistics.Win.UltraWinDock.DockableControlPane In udm.ControlPanes
p.Settings().AllowDragging() = Infragistics.Win.DefaultableBoolean.False
p.Settings().AllowFloating() = Infragistics.Win.DefaultableBoolean.False
p.Settings().DoubleClickAction() = Infragistics.Win.UltraWinDock.PaneDoubleClickAction.None
Next
End If
If TypeOf(ctl) Is Infragistics.Win.UltraWinEditors.UltraTextEditor Then
Dim txt As Infragistics.Win.UltraWinEditors.UltraTextEditor = CType (ctl, Infragistics.Win.UltraWinEditors.UltraTextEditor)
txt.AlwaysInEditMode = True
End If
Next
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Thursday, May 12, 2016 3:34 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Make MES Screens Undockable 10.0.700.4
Has anyone found a way to make the different tabs on the MES screen undockable? With multi-user machines it would be nice to make sure they always look the same. I have removed the users personalization rights but that doesn't stop them from temporarily making changes.