Export (0) Print
Expand All

cancelBubble property

Sets or retrieves whether the current event should bubble up the hierarchy of event handlers.

Syntax

HRESULT value = object.put_cancelBubble( v);HRESULT value = object.get_cancelBubble(* p);

Property values

Type: VARIANT_BOOL

VARIANT_FALSE (false)

Default. Bubbling is enabled, allowing the next event handler in the hierarchy to receive the event.

VARIANT_TRUE (true)

Bubbling is disabled for this event, preventing the next event handler in the hierarchy from receiving the event.

Remarks

Using this property to cancel bubbling for an event does not affect subsequent events.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft