I have used toolbars in several Lazarus (windows) applications and have never seen this. Has anyone?
I added a a tTtoolbar and several tToolbuttons to a form, accepting defaults. I then added a tImageList and several images to the form. Then associated the imageList to the Toolbar, then for each Toolbutton, set the imageIndex to one of the images in the imageList.
In the IDE, on the form, the icons are displayed. I compile and run the program and the toolbar icons do not display in the app, although if you place the cursor over where they should be you see grey squares over each. You can press these grey squares and the buttons function.
Exiting the IDE and reentering show the imageindex on all the tToolButtons set to -1, although in the .lfm, they have the values set to the valid integers in the image list. Updating them in the IDE and recompiling/running end in the same result. Something is forcing them to -1 and not displaying.
I checked all the properties of the toolbar, toolbuttons and imagelist in the IDE and they all appear as they should- Enabled, visible, etc.
I could set the toolbutton.imageindex properties at runtime.
I could recreate the toolbar, buttons and imagelist on the form.
But neither would explain that is happening.
I thought this might be worth asking to see if the community has any experience with this.