Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWResourceStrings
#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


Messages In This Thread
IWResourceStrings - by Lorbass - 01-28-2020, 07:27 PM
RE: IWResourceStrings - by Alexandre Machado - 01-31-2020, 02:41 AM
RE: IWResourceStrings - by Lorbass - 01-31-2020, 04:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)