onmouseup Event
Occurs when a user releases a mouse button while the mouse is over a page or an element when a page is displayed in Design view in Microsoft FrontPage.
expression.onmouseup
expression Required. An expression that returns one of the objects in the Applies To list, which has been declared using the WithEvents keyword in a class module.
Example
The following example changes the background color of the active element when the user releases the mouse button. This example must be placed in a class module, and it assumes that you have declared in the General Declarations section of a class module an FPHTMLBody object variable called "objBody" using the WithEvents keyword.
Private Sub objBody_onmouseup()
Dim objElement As IHTMLElement
Dim objEvent As IHTMLEventObj
Set objEvent = objBody.Document.parentWindow.event
Set objElement = objEvent.srcElement
objElement.Style.backgroundColor = "yellow"
End Sub