Hello,
I'm using an UltraTabControl to manage different UserControls in an Application. The switching between the tabs is mostly controlled by the application. Therefore I'm searching a way to hide the tab header. Is this possible?
Thank you!
Frank
Turned this issue into support and, yes, it is a bug for NetAdvantage 2007. Support will issue a bug fix.
Thank-you, Mike :)
Are you sure you removed the key actin mappings from the correct UltraTabControl? If so, it could be a bug and I would recommend submitting the issue to the support group: http://es.infragistics.com/gethelp.
Thank you very much for the reply.
I tried using the code snippit you gave me to my sample project, but I did not have any success. As requested, I put the snippit in after the IntializeComponent of the form. I was still able to Ctrl+Tab to the next Tab.
I removed the if statements so that the code would remove all mappings and it still didn't work.
I created button Click event for one of the buttons on the TabControl and got a Count on KeyActionMappings. It was zero (this was for the code that removed all key mappings). Yet I was still able to press Ctrl+Tab to move to the next tab.
Is there some other property I should set on the ultra tab to make this work?
The following code will remove the key action mappings for Ctrl+Tab and Ctrl+Shift+Tab from an UltraTabControl:
List<KeyActionMappingBase> mappingsToRemove = new List<KeyActionMappingBase>();foreach ( KeyActionMappingBase mapping in this.ultraTabControl1.KeyActionMappings ){ if ( mapping.KeyCode == Keys.Tab ) { if ( mapping.SpecialKeysRequired == SpecialKeys.Ctrl || mapping.SpecialKeysRequired == SpecialKeys.ShiftCtrl ) { mappingsToRemove.Add( mapping ); } }}
foreach ( KeyActionMappingBase mapping in mappingsToRemove ) this.ultraTabControl1.KeyActionMappings.Remove( mapping );
You can use this in the constructor of your Form after the InitializeComponent call.
Is there a way to disable the default Ctrl+Tab behavior while in Wizard mode?
If I created a blank project, add an UltraTabcontrol with three tabs and a command button on each. I can hit ctrl + tab when the button has focus and the control will move to the next tab.