ShowHorzScrollBar Property

Gets or sets a value which determines whether a horizontal scroll bar is displayed in the grid control.

object.ShowHorzScrollBar = [value]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and value is a value or constant as described in Settings.

Client support

   Newlook Smartclient only.

Use

By default, datagrid controls will display scroll bars if the content is too big to be displayed in the available grid area. However, it is possible to overwrite this default behavior to always or never display scroll bars.

The available settings for value for these controls are :

Constant

(Macro editor)

Constant

(Script Editor)

Description

ShowScrollAuto

nlShowScrollAuto

(Default) Horizontal scroll bar display is automatically determined by the data in the grid. The recognition engine will appropriately size the contents and display a scroll bar if necessary.

ShowScrollAlways

nlShowScrollAlways

Always display the horizontal scroll bar.

ShowScrollNever

nlShowScrollNever

Never display the horizontal scroll bar.

See Also

ShowVertScrollBar property | ShowColumns property

Applies To

DataGrid control


© 2004-2021 looksoftware. All rights reserved.