DeleteSetting Instruction
Syntax
DeleteSetting AppName$, Section$[, Key$]
Group
Description
Delete the settings 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.
Parameter | Description |
---|---|
AppName$ | This string value is the name of the project which has this Section and Key. |
Section$ | This string value is the name of the section of the project settings. |
Key$ | This string value is the name of the key in the section of the project settings. If this is omitted then delete the entire section. |
Example
Sub Main
SaveSetting "MyApp","Font","Size",10
DeleteSetting "MyApp","Font","Size"
End Sub