OLE_EXEC ACTION

4D - Documentation   Français   English   German   OLE_Tools, Contents   OLE_Tools, Index   Back   Previous   Next

version 3.5


OLE_EXEC ACTION (oleArea; action)

ParameterTypeDescription
oleAreaLongintOLE Area Reference number
actionIntegerNumber of the action in hierarchical menu

Description

The command OLE_EXEC ACTION executes the action specified by action for the OLE area specified by OLEarea. The number you pass in action is the number of the menu item in the hierarchical menu that corresponds to the commands provided by the OLE source application.

Note: No matter the nature of the embedded object, the command OLE_EXEC ACTION does not allow the execution of the Convert command provided by the OLE source application.

Example

If a WAV file is inserted in an OLE area named XOleArea, the commands provided the OLE source application for WAV files are: Play, Edit and Open. The line:

   OLE_EXEC ACTION (XOleArea ; 1) 

plays the embedded sound file.


4D - Documentation   Français   English   German   OLE_Tools, Contents   OLE_Tools, Index   Back   Previous   Next