问题
I'm using the CodeGear RAD Studio IDE.
In order to test my application with command line parameters I used a few times the "Parameters" field in the "Run -> Parameters" menu.
But every time I provide it with a new value, it could not be deleted from the "dropdown box".
I need to clean this field (erase all the values), since in some cases there is information on them that I don't want to share with people that occasionally could use my machine.
How can I clean this field?
回答1:
The Delphi 2007 Parameters list is stored in the Windows registry in the HKEY_CURRENT_USER\Software\Borland\BDS\5.0\History Lists\hlRunParameters
location
To clean that list remove the ItemN entries and set the value of the Count
key to 0.
来源:https://stackoverflow.com/questions/16950697/how-can-i-clean-the-parameters-field-in-the-run-parameters-menu