4D v16SVGTool_SET_VIEWER_CALLBACK |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
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.
|
EIGENSCHAFTEN
Produkt: 4D
GESCHICHTE
Erstellt: 4D v12 ARTIKELVERWENDUNG
4D SVG ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||