4D v16

SVGTool_SET_VIEWER_CALLBACK

Home

 
4D v16
SVGTool_SET_VIEWER_CALLBACK

SVGTool_SET_VIEWER_CALLBACK 


 

SVGTool_SET_VIEWER_CALLBACK ( MethodenName ) 
Parameter Typ   Beschreibung
MethodenName  Text in Name of 4D project method

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
Thema: Utilities
Nummer: 65875

 
GESCHICHTE 

Erstellt: 4D v12

 
ARTIKELVERWENDUNG

4D SVG ( 4D v16)