G
Greg Bromage
This something like this might be best handled as a
Registry setting, because I'd imagine you'd want the
setting to persist after the application has been closed
and re-opened.
Use the SaveSetting() function on the preferences form,
and in all other places use GetSetting() to retrieve it.
The benefits of this are that the setting will follow the
user between sessions and between different workstations.
If you develop a standard for the way you handle the
registry, you can even use the same setting in more than
one application. Selecting Centimetres or Inches in one
application set it for all your programs for that user.
Rgds,
Greg
Registry setting, because I'd imagine you'd want the
setting to persist after the application has been closed
and re-opened.
Use the SaveSetting() function on the preferences form,
and in all other places use GetSetting() to retrieve it.
The benefits of this are that the setting will follow the
user between sessions and between different workstations.
If you develop a standard for the way you handle the
registry, you can even use the same setting in more than
one application. Selecting Centimetres or Inches in one
application set it for all your programs for that user.
Rgds,
Greg