ScrollBars Property
This property returns or sets a value indicating whether a control or split has horizontal or vertical scroll bars.
object.ScrollBars= value
Read/Write at run time and design time.
Property applies to TDBList and TDBCombo controls, Split object.
Values
Design Time |
Run Time |
0 - None |
dblNone |
1 - Horizontal |
dblHorizontal |
2 - Vertical |
dblVertical |
3 - Both |
dblBoth |
4 - Automatic (default) |
dblAutomatic |
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 control contains multiple splits, then setting its ScrollBars property has the same effect as setting the ScrollBars property of each split individually.
See Also