I'm not able to check right now but if memory serves me right...<div>In Form1 you can call Form2.StringList[x]<br><br><div class="gmail_quote">On Tue, Mar 26, 2013 at 4:14 PM, appjaws <span dir="ltr"><<a href="mailto:lazarus@appjaws.plus.com" target="_blank">lazarus@appjaws.plus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have 2 forms, form 1 calls form 2 on a buttonclick process.<br>
Form 2 loads a string list, operations are carried out and the stringlist is saved.<br>
<br>
The application opens with form 1, data is produced and stored in a Tedit<br>
<br>
What I want to do is to compare the Tedit on form1 with data held in the stringlist of form2. The problem is that the stringlist is not yet created from the stringlist file.<br>
I have tried to load the stringlist from within form 1 but compilation fails with :-<br>
TestProj1.lpr(21,1) Error: Error while compiling resources. Compile with -vd for more details. Check for duplicates.<br>
<br>
The messaged produced using -vd did not indicate any duplicates and terminated the application with the same message.<br>
<br>
I'm sure this must be possible but with my limited knowledge, I can't see how.<br>
<br>
Thanks for any help<br>
Paul<span class="HOEnZb"><font color="#888888"><br>
-- <br>
---This message has been sent using Thunderbird on kubuntu---<br>
<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Shalom,<br>Avishai<br><a href="mailto:avishai.gore@gmail.com">avishai.gore@gmail.com</a><br>אבישי גוֹר
</div>