no crash on a 32bit Windows XP with

Lazarus 1.3 r47147 FPC 2.6.4 i386-win32-win32/win64

2014-12-09 4:39 GMT+01:00 Kiên Nguyễn Tiến Trung <kc97...@gmail.com>:

> I'm finding the way to add something into a TCollection while using
> TTIGrid on it. I've tried following code, however, when I click Button1,
> then click to the space inside the grid, my program crashed. Please have a
> look at my attachment for more detail.
>
> procedure TForm1.Button1Click(Sender: TObject);
> begin
>   TIGrid1.ListObject := nil;
>   MyCollection.Add;
>   TIGrid1.ListObject := MyCollection;
> end;
>
> Do you know the right way to call add an item into TCollection?
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to