[Overview][Constants][Types][Classes][Variables][Index] Reference for unit 'RSettings' (#LibR3R)

TRSettings.Access

Declaration

Source position: rsettings.pas line 56

public procedure TRSettings.Access(

  var SettingName: ;

  var SettingValue: Pointer;

  var SettingType: Byte;

  var Count: TRSetIndex;

  const SettingsMode: Byte

);

Description

Access information about the settings. This is the only method available to the shared library, but those coding in Object Pascal should use the othehr methods. Index should be set to 0 to get the index of a setting name; if set to a value greater than 0, it will give you the setting name at the specified index. The value should be cast to and from pointers (not referenced and dereferenced). For SettingsMode, use SettingsRead and/or SettingsWrite depending on whether you want to get or set the values.