ToolDBId

From SDK
Jump to navigation Jump to search
Back.jpg

This is an object used to locate a selected tool with its location in the tool database. It is retrieved by the tool through Tool.ToolDBId and is useful for saving and loading defaults..


Constructor

ToolDBId(string section, string key_prefix)

Create an Id object from the contents of the registry

Section – string – section name in the registry
Key_prefix – string – prefix for the registry keys (could be empty) in case multiple tools are used in the same gadget

Methods

SaveDefaults(string section, string key_prefix)

Save the Id to the registry

Section – string – section name in the registry
Key_prefix – string – prefix for the registry keys (could be empty) in case multiple tools are used in the same gadget

LoadDefaults(string section, string key_prefix)

Load the Id from the registry

Section – string – section name in the registry
Key_prefix – string – prefix for the registry keys (could be empty) in case multiple tools are used in the same gadget
Back.jpg

References

Please Note: The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 10.0, published August 21, 2019. by Vectric Ltd. Most current document from Vertric can be downloaded at Vertric Developer Information