[Lazarus] TTIGrid crashed after calling ListObject.Add
John Landmesser
jmlandmesser at gmail.com
Tue Dec 9 11:41:42 CET 2014
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 <kc97ble at 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 at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141209/eb9f4994/attachment-0003.html>
More information about the Lazarus
mailing list