[Lazarus] How to use data from stringlist in another form.

Avishai avishai.gore at gmail.com
Tue Mar 26 17:43:12 CET 2013


I'm not able to check right now but if memory serves me right...
In Form1 you can call Form2.StringList[x]

On Tue, Mar 26, 2013 at 4:14 PM, appjaws <lazarus at appjaws.plus.com> wrote:

> I have 2 forms, form 1 calls form 2 on a buttonclick process.
> Form 2 loads a string list, operations are carried out and the stringlist
> is saved.
>
> The application opens with form 1, data is produced and stored in a Tedit
>
> 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.
> I have tried to load the stringlist from within form 1 but compilation
> fails with :-
> TestProj1.lpr(21,1) Error: Error while compiling resources. Compile with
> -vd for more details. Check for duplicates.
>
> The messaged produced using -vd did not indicate any duplicates and
> terminated the application with the same message.
>
> I'm sure this must be possible but with my limited knowledge, I can't see
> how.
>
> Thanks for any help
> Paul
> --
> ---This message has been sent using Thunderbird on kubuntu---
>
> --
> ______________________________**_________________
> Lazarus mailing list
> Lazarus at lists.lazarus.**freepascal.org<Lazarus at lists.lazarus.freepascal.org>
> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
>



-- 
Shalom,
Avishai
avishai.gore at gmail.com
אבישי גוֹר
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130326/ebe5b18f/attachment-0003.html>


More information about the Lazarus mailing list