onrowenter Property

Microsoft FrontPage Visual Basic

onrowenter Property

Returns or sets a Variant that represents the value of the onrowenter attribute that is the name of the script to run when the onrowenter event fires.

expression.onrowenter

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

Example

The following example sets the onrowenter attribute for the first row in the first table in the active document.

    Dim objTable As FPHTMLTable
Dim objRow As FPHTMLTableRow
    
Set objTable = ActiveDocument.all.tags("table").Item(0)
Set objRow = objTable.rows.Item(0)
    
objRow.onrowenter = "script()"