4D v13

OLE_EXEC ACTION

Home

 
4D v13
OLE_EXEC ACTION

OLE_EXEC ACTION 


 

OLE_EXEC ACTION ( oleArea ; action ) 
Parameter Type   Description
oleArea  Longint in OLE Area Reference number
action  Integer in Number of the action in hierarchical menu

The OLE_EXEC ACTION command 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.

 
PROPERTIES 

Product: 4D
Theme: OLE_Tools Commands
Number: 64990

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: < 4D v6