noResize Property

Returns or sets a Boolean that represents whether a user can resize a border to a frame when it is displayed in the browser. False indicates the frame size is fixed and the user cannot resize it. Corresponds to the noresize attribute for the FRAME element.

expression.noResize

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Example

The following example disables resizing the first frame in the active document when it is displayed in a browser.

Dim objFrame As IHTMLFrameElement

Set objFrame = ActiveDocument.all.tags("frame").Item(0)

objFrame.noResize = True

Applies to | FPHTMLFrameBase Object | FPHTMLFrameElement Object | FPHTMLIFrame Object | IHTMLFrameBase Object