Reference > TDBText Control > TDBText Control Properties > ScrollBarMode Property (TDBText) |
ScrollBarMode Property (TDBText)
TDBText.ScrollBarMode
Read/Write at design time. Read-only at run time.
Design Time |
Run Time |
0 - Fixed (Default) |
dbiSBModeFixed |
1 - Automatic |
dbiSBModeAutomatic |
Sets/returns how to display the scroll bars. To display the scroll bars, you must have the MultiLine property set to True. If set to 0-Fixed, the scroll bars will be displayed at all times.
If set to 1-Automatic, the scroll bars will be visible only when the contents in the control exceed the length of the control.
A vertical scroll bar will be displayed at all time in the drop-down edit window.
See Also