Advertisement
5_2007-2008 Registry #187804

Easier Method than the SaveSetting GetSetting commands

Want an easier way to save and retrieve the value of a control to and from the registry? Why use SaveSetting(app.EXEName, "Settings", "Text1", Text1.Text)? When you can use: RegSave(Text1, Text1) Ofcourse you can still use SaveSetting(blah,blah,blah,blah) when you want your program to remember something specific. But for popular controls, I think you will find RegSave and RegGet to be easier. It's easier to use the name of the control than using your own naming convention. Let me know if you find this method useful, if you do, please toss me a vote. If not, Ready Aim Fire with the comments. Thanks Keywords: Saving Registry GetSetting SaveSetting Load Value Retrieve Value INI Settings

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
Upload
Commenti originali (3)
Recuperato da Wayback Machine