[Lazarus] compile errors trying to create array of tbutton.
Peter Williams
peterericwilliams at gmail.com
Sat May 21 23:50:43 CEST 2011
Hi Mattias,
On Sun, May 22, 2011 at 2:46 AM, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:
> On Sun, 22 May 2011 01:37:35 +1000
> Peter Williams <peterericwilliams at gmail.com> wrote:
[...]
>
>> my_array_of_tbutton[ array_count ].OnClick :=
>> myArrayButtonsClick;
>
> You forgot the address operator:
> @myArrayButtonsClick;
>
Thanks for the help, Mattias. :-)
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
More information about the Lazarus
mailing list