I thought that all is ok but unfortunately not. I have a problem with the new autosize, it is difficult to me to create a bug report because the application is quite big and the error does not occur always.
In short: I have assigned to the panel (stringgrid.parent=panel) three stringgrid objects, all have align = alClient and they are displayed separately (all three objects are created, only I switch visible). With the new autosize at some point when loading data to stringgrid and when I set Visible = true then sometimes stringgrid don't shows. It is strange because it happens not always on different systems. Often I have a problem on Vista (Intel Core Duo) and Windows 2000 on VirtualBox, on system where I compile a program Windows XP, it happened maybe once. With -dOldAutoSize all is ok. Maybe multi-threading in my application makes this problem ? I tried to find the problem and I suspect that stringgrid not quite finished loading the data when I try to view it. However, I put "sleep" before Visible := true and does not help. Maybe someone has some tips ? best regards faber -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
