1

In .net you can acces the Properties of your application trough code. How can you do the same in Oxygene / delphi prism ?

Directory.GetFiles(Properties.Settings.Default.
Jim McKeeth
  • 38,225
  • 23
  • 120
  • 194
Nicolas Pierre
  • 1,174
  • 1
  • 21
  • 39

1 Answers1

1

You are almost there, to access the settings of your application, you must add the YourAppNameSpace.Properties namespace to your uses clause and then access the setting on this way

Settings.Default.MySettingName

Or using a full qualified name, like so :

YourAppNameSpace.Properties.Settings.Default.MySettingName
RRUZ
  • 134,889
  • 20
  • 356
  • 483