GetSetting Function |
Syntax:
GetSetting[$](AppName$, Section$, Key$[, Default$])
Group:
Description: Gets the setting for Key in Section in project AppName. Win16 and Win32s store settings in a .ini file named AppName. Win32 stores settings in the registration database.
Parameters:
Parameter |
Description |
This string value is the name of the project which has this Section and Key. |
|
This string value is the name of the section of the project settings. |
|
This string value is the name of the key in the section of the project settings. |
|
Return this string value if no setting has been saved. If this is omitted then a null string is used. |
Example:
Sub Main
SaveSetting "MyApp","Font","Size",10
Debug.Print GetSetting("MyApp","Font","Size") ' 10
EndSub