mystring := LoadStr( ResID );

is this what you mean?

this is the "retro" way of doing it.   the preferred way
is to use "resoursestring" constants - but it sounds like
you already have the resources bound to the IDs some other
way so the above should work.

rgds

ns


-----Original Message-----
From: Jeremy Coulter <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: 25 July 2000 08:46
Subject: [DUG]: Strings In resources


>can some PLEASE remind my HOW you get strings from a resource file (based
on
>their resource ID).
>For some STRANGE reasone the code I had written to do this has gone MISSING
>!
>
>Cheers,Jeremy Coulter (Software Development Team Leader)
>Triton Commercial Systems
>6A Burdale Street
>Riccarton
>Christchurch
>( +64 3 3483973  Fax +64 3 3431613
>http://www.tritoncomsys.com
>
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to