Your understanding that the disabled images will be used instead of the normal images if the action is disabled is correct. You may have noticed also there are also HotImages which become active if the mouse is moved over a toolbutton. BUT: Since there is only one ImageIndex all Imagelists (Images, DisabledImages, HotImages) must be in sync, i.e. same count and same order of images. This is some kind of restriction for practical use.

Am 02.07.2015 um 14:00 schrieb Richard Mace:
Hi All,
I have a toolbar with buttons on it, that are linked to actions. I also note, that there is a property called DisabledImages. I'm presuming this is to do with images that will be displayed on the toolbar, instead of the normal images, when the action is disabled? If this is the case, how do I specify which image relates to the correct action in the ImageList?

Hope that makes sense?

Windows 7 Pro Lazarus 1.4 FPC 2.6.4

Richard


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to