Cannot open my form after change columns in DBGrid lazarus / 16-Databases ---------------------------------------------------------------------- Unvictis · 2017-05-26 23:02 Good afternoon guys! I can not open the form of my application, after changing the Columns property via IDE, and reopen project/IDE. Lazarus writes: "Division by zero." Can you please tell me how to solve this problem? Lazarus: 1.6.4 x32, SVN: 54278 OS: Windows 10 Home x64 ---------------------------------------------------------------------- sky_khan · 2017-05-27 00:06 This is why you should use a version control software like git/mercurial/svn. You could diff the files and notice the bug yourself. Your lfm file has out of range Width and Height values like 106880,186880 in two places. You should fix them by hand, outside of lazarus. ---------------------------------------------------------------------- Handoko · 2017-05-27 02:47 I tested the files and as mentioned it can be fixed by changing those values. There are 4 lines in fiskra.lfm that needed to be changed: - line 227: ClientHeight = 106880 - line 228: ClientWidth = 186880 - line 325: ClientHeight = 106880 - line 326: ClientWidth = 186880