Intersoft WebDesktop Documentation
AllowScrolling Property
See Also  Send Feedback
ISNet.WebUI.WebDesktop Namespace > WebTab Class : AllowScrolling Property


Glossary Item Box

Gets or sets a value indicating whether the Tab control should display ScrollButtons when the number of Tab exceeds the controls' width.

Syntax

Visual Basic (Declaration) 
Public Property AllowScrolling As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebTab
Dim value As Boolean
 
instance.AllowScrolling = value
 
value = instance.AllowScrolling
C# 
public bool AllowScrolling {get; set;}

Remarks

WebTab allows you to create a lot of tab items which might exceed the boundary of the Tab control itself. You can achieve the scenario by simply setting the AllowScrolling property to True. When you set this property to True, a Left and Right arrow will appear at the right end of the Tab control.

The AllowScrolling feature worked in conjunction with Automatic Resizing, that is the arrows will appear as "disabled" when there are no items exceeding the Tab width boundary. However, when later user resized the browser window which cause the Tab control to be smaller than available items, the WebTab will automatically enable the Scroll arrows. Furthermore, any active tab which set from either codes or invoked by keyboard keys will be scrolled into view automatically.

You can customize the Text and Image for the Scroll Arrows in TextSettings and ImagesSettings.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.