Chapter Contents

Previous

Next
OLE: _do

OLE: _do



Invokes an OLE-supplied method that has no return value


Syntax
Details
Example

Syntax

CALL NOTIFY (OLE-object, '_do', in-OLE-method<, in-parm,...in-parm>);

Argument Type Description
in-OLE-method
C specifies the OLE-supplied method name
in-parm
C | N provides a parameter to the OLE-supplied method


Details

The _do method sends an OLE-supplied method and its parameters to an OLE object. The number of parameters (in-parm arguments) needed varies among different OLE objects and methods. Only OLE-supplied methods that have no return value should be used with the _do method. For OLE-supplied methods with return values, use the _compute method.


Example

The following example sends the 'AboutBox' method to an OLE control, which displays the About Box for the control:

    call notify('oleobj', '_do', 'AboutBox');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.