共用方式為


Event Element

Contains elements that specify formulas that control shape events.

Syntax

<Event
    [Del]>
</Event>

Attributes

Del

Optional boolean. A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Element properties

Property

Value

Name

Event

Minimum Occurrences

0

Maximum Occurrences

1

Element information

Parent elements

PageSheet

Shape

StyleSheet

DocumentSheet

Child elements

TheData

TheText

EventDblClick

EventXFMod

EventDrop

Event elements are evaluated only when the event occurs, not upon formula entry.

The Event element is relevant only when contained in a Shape or StyleSheet element. It is ignored when contained in a DocumentSheet or PageSheet element.

See also

Events section