This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Set the base search key to be prefixed to all successive <cAppConfig>.GetKey(sKey)
Syntax
Syntax
s = <cAppConfig>.SetSearchKey(NewSearchKey)
Returns
String, previous search base key
Parameters
Name |
Type |
Optional |
Meaning |
NewSearchKey |
String |
No |
New base search key |
Remarks
To save some typing and allow dynamic loading of keys sets, it is possible to set a base search string that will be added to all successive .GetKey(...) search.
So, for example, adding "Debug" as SearchKey, instead of searching for MyAppConfig.GetKey("Debug\AppData\Author_Name") you cans search for
MyAppConfig.GetKey("AppData\Author_Name") only because thinBasic will add "Debug" in front of "AppData\Author_Name"
Restrictions
See also
Examples