Hello
Is there any way to create a tab in the background without deactivating the current tab.
I'm currently doing the following
child.MdiParent = MdiParent;
child.Show();
but this immediately switches to the new tab, presumably because of the Show().
I would like to create the tab, initially empty and not activated, and then fill the contents when selected through a user mouse click. This would mean assigning the child form to the tab, but the Form property is read-only.
Kind regards
David
Hello Georgi
Not really. The TabActivated event is fired for the created tab and then the Visible property for the previous tab immediately fires it again.
My question is a little confusing, as I need to simply create a tab header, which acts as a placeholder, displaying a "Loading xxx...please wait" sort of message. No form has to be created, just the header. Then when the data has finished loading, the actual tab and contents would be created and activated.
My feeling is that I will need to write my own tab control, as another feature that must be available is described here.
http://forums.infragistics.com/forums/t/38435.aspx.
Thank you for the response.
Could you please take a look at the attached sample. Please send me feedback is it the same that you are looking for.RegardsGeorgi