[Lazarus] Disabled images

Richard Mace richard.mace at gmail.com
Thu Jul 2 15:04:16 CEST 2015


Great, thanks for the info.

Richard
On 2 Jul 2015 13:24, "Werner Pamler" <werner.pamler at freenet.de> wrote:

>  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 listLazarus at lists.lazarus.freepascal.orghttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150702/c223689e/attachment-0003.html>


More information about the Lazarus mailing list