TImageList crash when i try to add a new icon lazarus / 10-Designer ---------------------------------------------------------------------- rdelossantos · 2007-01-29 17:47 Hello: I drop a tImageList control in a form and i change the height and the width of it. When i try to add an icon thru the Image liste editor yi receive the next error: "TIMageListComponentEditor" has created the error "Division by zero". How can i insert a 32x32 icon in a toolbar?. I bought application stock icons and i can't use it in my project. Any help i would appreciate it even if i have to load the icons thru programming from a resource file. Thanks in advance ---------------------------------------------------------------------- Saverio · 2007-01-31 21:14 Try to do this: select your ImageList and set on Object Inspector Height=33, Width=33. In other words ImageList must be greater from the icon you want to insert. I think sould work. ---------------------------------------------------------------------- Vincent Snijders · 2007-01-31 21:37 This bug has been fixed in Lazarus 0.9.21. Saverio's method is a good workaround for version 0.9.20.