4D v13SVGTool_SET_VIEWER_CALLBACK |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13
SVGTool_SET_VIEWER_CALLBACK
SVGTool_SET_VIEWER_CALLBACK
The SVGTool_SET_VIEWER_CALLBACK command is used to install methodName as the project method that will be called when the On Clicked and On Mouse Move events occur on the image displayed by the SVGTool_SHOW_IN_VIEWER command. This method receives a text parameter that is the ID of the element being clicked or over which the mouse is moving as provided by the 4D SVG Find element ID by coordinates command. This parameter must be declared in the methodName project method of the host database by inserting it into the line C_TEXT($1). You must assign the "Shared by components and host database" property to the methodName method. If the method does not exist or is not shared, the error -10508 is generated by 4D. |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D v12 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||