Atozed Forums

Full Version: IWResourceStrings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi @all,

this question has probably already been asked. But I didn't find a solution.
How can the Texts from "IWResourceStrings" be modified?
Thanks for appropriate advice!
Each resource string has an associated variable, which is initialized with the resource string value. But the variable can be modified at runtime.

Example:

resourcestring
PermissionDenied = 'Permission denied';

var
RSPermissionDenied: string;


At startup, RSPermissionDenied is initialized receiving the value in PermissionDenied.

Best way to change it is in ServerController.OnConfig event.
Thank you very much. Sometimes it can be so simple … ;-)