Object Reference > TDBDropDown Properties > ScrollBars Property (TDBDropDown) |
This property returns or sets a value indicating whether a grid or split has horizontal or vertical scroll bars.
object.ScrollBars= value
Values
Design Time |
Run Time |
0 - None |
dbgNone |
1 - Horizontal |
dbgHorizontal |
2 - Vertical |
dbgVertical |
3 - Both |
dbgBoth |
4 - Automatic (default) |
dbgAutomatic |
Read/Write at run time and design time.
The default setting for this property causes horizontal and/or vertical scroll bars to be displayed only if the object's contents extend beyond its borders.
If a grid contains multiple splits, then setting its ScrollBars property has the same effect as setting the ScrollBars property of each split individually.