visibility Property

Microsoft FrontPage Visual Basic

visibility Property

Sets or returns a String that represents whether or not the contents of an element is visible.

expression.visibility

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

Remarks

The visibility property can be one of the following String values.

ValueDescription
inheritInherits the visibility of the nearest parent element.
visibleText in the element is visible.
hiddenText in the element is hidden.

Example

The following example hides the first table in the active document so that it doesn't render when the page is displayed in the browser.

    Dim objTable As FPHTMLTable

Set objTable = ActiveDocument.all.tags("table").Item(0)

objTable.Style.visibility = "hidden"