TdxShellTreeViewControlOptionsView.ScrollBars Property
Specifies which scroll bars the Shell Tree View control can display.
#Declaration
property ScrollBars; default ssBoth;
#Property Value
Type | Default | Description |
---|---|---|
Tcx |
ss |
The available scroll bars. |
#Remarks
Use the ScrollBars
property to define which scroll bars the Shell Tree View control can display when its content does not fit into the client area. Refer to the following table for detailed information on available options:
Value | Description |
---|---|
ss |
The control can display the horizontal and vertical scroll bars. |
ss |
The control can display only the horizontal scroll bar. |
ss |
The control can display only the vertical scroll bar. You can set the ShowTrue to display an ellipsis at the end of node captions that do not fit into the control’s client area in this mode. |
ss |
The control displays no scroll bars. You can set the ShowTrue to display an ellipsis at the end of node captions that do not fit into the control’s client area in this mode. |
Note
You can call the control’s MakeScroll
property is set to ss
.
A user can press the Up and Down Arrow keys to move focus to a node outside the control’s client area. The focus move operation can scroll the Shell Tree View control vertically, even if the Scroll
property is set to ss
or ss
.
The ScrollBars
property’s default value is [ssBoth](xref:Vcl.StdCtrls.ssBoth)
.