Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: Change multiple resourcestring in loop



Permlink Replies: 0 Threads: [ Previous | Next ]
Bojan Kostic

Posts: 1
Registered: 9/26/14
Change multiple resourcestring in loop
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 26, 2014 1:04 AM
I'm trying to implement translation of resourcestring section. I have one solution but that solution requires that for evry line of resourcestring tag we have aditional line of code in initialization section of unit.
For example,

resourcestring
rsTemp1 = 'Some text 1';
rsTemp2 = 'Some text 2';

.
.
.

initialization
HookResourceString(@rsTemp1, 'New text 1');
HookResourceString(@rsTemp2, 'New text 1');

Can I change resourcestring in loop?
I can go throu resourcestring-s in loop, but can't change value

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02