ComponentOne True DBInput Pro 8.0
ScrollBars Property (TDBText)

 

Reference> TDBText Control> TDBText Control Properties> ScrollBars Property (TDBText)

ScrollBars Property (TDBText)

Sets/returns whether the control has horizontal or vertical scroll bars.

Syntax

object.ScrollBars

Read/Write at design time. Read-only at run time.

Values

Design Time

Run Time

0 - None (Default)

dbiScrollBarsNone

1 - Horizontal

dbiScrollBarsHorizontal

2 - Vertical

dbiScrollBarsVertical

3 - Both

dbiScrollBarsBoth

Remarks

Read only at run time. To display the scroll bars, you must have the MultiLine property set to True. You can set whether the scroll bars can display at all times or only when the contents exceed the length of the control with the ScrollBarMode property.

If no horizontal scroll bar is specified, the text in a multiple-line control automatically wraps.

A vertical scroll bar will be displayed at all time in the drop-down edit window.

See Also

MultiLine Property (TDBText)

ScrollBarMode Property (TDBText)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback