Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.