Dear Team,
We are using ultratabbedmdi for our application to display the forms in a tabbed manner. There are three buttons/icons which we placed in the main form to display as a global tool bar. When we split the tabs horizantally then the buttons are appearing but when we are using the vertical split the buttons are disappearing.
To maintain the state of the buttons we are using BringToFront() method.
Normal form when opened without any splits
When split the screen vertically
When the screen was split horizontal
The solution which you provided with the delay and method invoker worked well for us. Thank you for your quick reply.
Hello Kamineni,
Thank you for providing the sample application.
I am able to reproduce the behavior you described and basically what's happening is that whenever you create a new tab group, it is bringing the buttons to the front. And there's a timing issue – you are going first in some cases and then we bring the form to the front and it covers the dropdown button.
It works if you introduce a delay something like this.
Private Sub UltraTabbedMdiManager2_InitializeTabGroup(sender As Object, e As MdiTabGroupEventArgs) Handles UltraTabbedMdiManager2.InitializeTabGroup 'ShowToolBarButtons() Me.BeginInvoke(New MethodInvoker(AddressOf ShowToolBarButtons)) End Sub
There is one more option, use a Toolbar or dock something to the top so it's outside the form.
So the options are :
1)Use a panel or toolbar docked to the top outside the forms. 2) Try using BeginInvoke like my code above.
Please let me know if you need further assistance.
Hi Divya, Thank you for the reply, I am attaching the solution for your reference.
We need to show the ultradropdown button every time when the ultra mdi form is split vertically or horizontally. click on the ultrabutton which will open the new forms in a tabbed manner. Split those tabs horizontally or vertically. When used horizontal ultradropdown button is displaying but vertical it is not showing.
Looking for your help with respect to this. We are using licensed version of Infragistics 2018 windows controls (Srinivasa Rao Kamineni)
VerticalSplitTabbedMDI.zip
Thank you for posting to our forum.
I am not very sure the behavior you described with the screenshots, the best way for us to assist you is if you provide a small isolated sample that we can run and reproduce the same behavior at our end.
Looking forward to hear you back.