PreviousNextIndex

UNSUBSCRIBE statement

Cancels a subscription to an ABL named event. Specifically, the UNSUBSCRIBE statement cancels one or more subscriptions to one or more named events.

Note: ABL named events are completely different from the key function, mouse, widget, and direct manipulation events, which are described in the "Handle-based Object Events Reference" section. They are also different from the class events described in the "Class Events Reference" section.
Syntax

UNSUBSCRIBE [ PROCEDURE subscriber-handle ] 
  [ TO ] { event-name | ALL } [ IN publisher-handle ] 

PROCEDURE subscriber-handle
event-name
ALL
IN publisher-handle
Example

For an example, see the reference entry for the PUBLISH statement.

Notes
See also

PUBLISH statement, PUBLISHED-EVENTS attribute, SUBSCRIBE statement, Unsubscribe( ) event method


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex