PreviousNextIndex

SUBSCRIBE statement

Creates a subscription to an ABL named event.

Note: ABL named events are completely different from the key function, mouse, widget, and direct manipulation events 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

SUBSCRIBE [ PROCEDURE subscriber-handle ] [ TO ] event-name 
  { IN publisher-handle | ANYWHERE } 
  [ RUN-PROCEDURE local-internal-procedure ]  [ NO-ERROR ] 

PROCEDURE subscriber-handle
TO event-name
IN publisher-handle
ANYWHERE
RUN-PROCEDURE local-internal-procedure
NO-ERROR
Example

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

Notes
See also

PUBLISH statement, PUBLISHED-EVENTS attribute, Subscribe( ) event method, UNSUBSCRIBE statement


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex