Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWResourceStrings
#1
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!
The way to success is always under construction ... but i see a light at the end of the tunnel  Idea Big Grin
Reply
#2
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.
Reply
#3
Thank you very much. Sometimes it can be so simple … ;-)
The way to success is always under construction ... but i see a light at the end of the tunnel  Idea Big Grin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)