Up | Scripts | Plugins

 

  

 
Plugins
Scorpion is extended using standard ActiveX components. These are managed using the plugins page.

This is the configuration. Use the New page button to insert new named pages, each containing an ActiveXContainerX control, that in turn can house any other ActiveX control registered with your system.

When a page is inserted, a new main tab is created with a page for the control.

Highlight the new page name in the Pages list and click New control to select an ActiveX control to be inserted. The page is immediately displayed with the new control inserted.

The Configure configures the plugin appearence on the page.

'

The page may contain a caption with a user defined text, either in standard height or a smaller 'toolbar caption' height.

Plugin alignment defaults to Client, the plugin fills all client area and resized automatically when application size changes. This may be changed by setting different alignments and anchors. Setting different alignment and anchors may be useful in cases where the plugin fits best with a fixed size or customizing with if .Net objects.

Plugin alignment defaults to Client, the plugin fills all client area and resized automatically when application size changes. This may be changed by setting different alignments and anchors. Setting different alignment and anchors may be useful in cases where the plugin fits best with a fixed size or when customizing the page with .Net controls.

Any methods the control exposes are listed in the Method info list, with parameter names and types. The controls are identified by the name of the inserted page, with a period (‘.’) separating the control name from the command name, for example, “
Plugin.AboutBox”. See the ActiveXContainerX help file for syntax information. 
Note: the Python script engine is accessible via the “pagename” Script. See the Scripts page for more information.

If you double-click a message in the Method info list, the text is copied to the Command edit field. By clicking Execute the command is sent to the named control, and the result is shown in the Result field:

Note that all string handling is case insensitive: “Plugin.GetYear” and “plugin.getyear” are considered equal.

Responses set the behaviour for each inserted control – see the General page for more information.

You can set the relative order of the pages with the up and down buttons. 

 

Scorpion Vision Version XV  : Build 764 - Date: 20200529
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2020 Tordivel AS.