you could maybe check the Activating event for the window and then .Activate() the previous window. You''d have to store somewhere which window was ''current'' and this could be kinda clumsy especially if you close windows.
There may or may not be a more elegant way of doing this and even if this is the only way you may get an unpleasant flicker.
CSChris SoulsbyApril 20, 2004 01:48 AM
Is there any way of using the MDITabPanel to stop this from happening? I’ve looked at the methods and there’s nothing that stands out. You get access to it by:
MDITabPanel tp = this.tabbedMDIManager.TabGroupHosts.MDITabPanel
CSChris SoulsbyApril 20, 2004 02:22 AM
I''ve worked it out :-), you need to use the enabled property on the MDITabPanel control. This is done as follows:
if(this.tabbedMDIManager.TabGroupHosts.Length > 0)
MDITabPanel tp = this.tabbedMDIManager.TabGroupHosts.MDITabPanel;
tp.Enabled = !tp.Enabled;
When the control is disabled then the user will not be able to change tabs.
ADAdministrator Syncfusion Team April 20, 2004 10:59 AM
Thanks for sharing this information with us. We appreciate your continued interest in Syncfusion products.