onselectstart Property

Microsoft FrontPage Visual Basic

onselectstart Property

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

expression.onselectstart

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

Example

The following example sets the onselectstart attribute for the BODY element in the active document.

    ActiveDocument.body.onselectstart = "script()"