4D v13OLE_EXEC ACTION |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13
OLE_EXEC ACTION
|
OLE_EXEC ACTION ( oleArea ; action ) | ||||||||
Parameter | Type | Description | ||||||
oleArea | Longint |
![]() |
OLE Area Reference number | |||||
action | Integer |
![]() |
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.
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.
Product: 4D
Theme: OLE_Tools Commands
Number:
64990
Created: < 4D v6