Progress
Language Reference


SET-READ-RESPONSE-PROCEDURE( ) Method

Return Type: LOGICAL

Applies To: Socket Object Handle

SYNTAX
SET-READ-RESPONSE-PROCEDURE( event-internal-procedure 
                             [ , procedure-context ] ) 

event-internal-procedure

A quoted string or character expression representing the name of an internal procedure that resides within procedure-context. When data is available on the socket, the specified internal procedure is called. If not specified, then no read procedure will be executed when the READ-RESPONSE event occurs.

procedure-context

A handle to a procedure that contains the internal procedure specified by event-internal-procedure. If not specified, THIS-PROCEDURE is used as the procedure-context.

NOTE: Returns FALSE if the procedure-context is not a valid widget handle; returns TRUE otherwise. If this method is not invoked, or it fails, no read procedure will be executed when the READ event occurs.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095