scroll Property
Sets or returns a String that represents whether the browser displays scroll bars for the element. Corresponds to the scroll attribute.
expression.scroll
*expression * Required. An expression that returns one of the objects in the Applies To list.
Remarks
The scroll property can be one of the following String values.
Value | Description |
---|---|
yes | Scroll bars are displayed. |
no | Scroll bars are not displayed. |
Example
The following example turns off display of the scroll bars when the active document is displayed in a browser.
Dim objBody As FPHTMLBody
Set objBody = ActiveDocument.body
objBody.scroll = "no"
Applies to | FPHTMLBody Object | IHTMLBodyElement Object