Hi
I have a large applications that uses MDI forms and each forms has a WinTab control with multiple tabs. The application is designed for an optimal resolution of 1280x1024 however I remote user scenarios with lower resolutions. I am using the latest Infragistics Ultimate 16.2 controls.
At lower resolutions, some controls are hidden on the tab and I would like to automatically display a vertical scroll bar to scroll the controls on the active tab.
Is this possible? How can I get this to work?
Any help greatly appreciated.
James O'DohertySolution ArchitectWinSQL Solutions Ltd
Hello James,
There is a possibility of achieving this by setting AutoScroll property of TabPage to true. For example, you can do this:ultraTabControl1.Tabs[0].TabPage.AutoScroll = true;
Alternatively, this can also be done by adding an UltraPanel with AutoScroll set to true to the TabPage and by adding all the controls inside it. This will render either the Vertical or Horizontal scrollbar if the contents of the page exceed the viewing area for that panel.
Please let me know if I may be of further assistance.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
I did the suggested code modified for VB.Net. But no scroll bar appeared and most of the data is out of view.
I have Infragistics.Win.UltraWinTabControl.UltraTabControl v11.2
To which code are you referring?
The cleanest way to have scrollbars in a tab would be to simply add an UltraPanel into the tab page and then turn on AutoScroll. But whether you do that or turn on AutoScroll on the TabPage directly, it works like a Panel control - the scrollbars only displays if there are controls contained within the panel that are out of view.