PreviousNextIndex

SET-CALLBACK( ) method

Associates a method within a class instance, or an internal procedure within a persistent procedure, with an ABL callback event.

Return type: LOGICAL

Applies to: Buffer object handle, ProDataSet object handle, Query object handle

Syntax
SET-CALLBACK ( callback-name, routine-name [ , routine-context ] ) 

callback-name
routine-name
routine-context

If callback-name is not a valid callback, or routine-context is not a valid object reference or handle, this method returns FALSE; otherwise, it returns TRUE. If the SET-CALLBACK( ) method is specified but cannot be invoked, or it fails, no method or procedure is executed as part of the callback event.

Note: If routine-name represents a class method that is associated with an ABL event as a callback, and the method is overridden in a derived class, the overridden method is run when the callback is invoked.

OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex