Home General

Report Designer Icons Question

edited January 2011 in General
I asked:

In Delphi 7, version 11.04 of the report writer, sometimes the icons of
the report designer get messed up. I have done an uninstall and
reinstall of the report writer several times for a corrupted install and
that never seems to fix the problem. The hints for the icons are always
correct, but the pictures do not match the hints.

Doing a build-all in delphi usually fixes the problem when running the
program in delphi. However, is there a way to manually set or check
that the hints match the icons somehow? If there was a way to manually
set the pictures and hints in the editor, I could just do that to bypass
the problem.

Thanks

You said:
Have not heard of this. Could be a bug in D7. Going forward I recommend
upgrading to the latest version Delphi. The last few releases are all
excellent - just keep getting better and better with Delphi XE being the
best.


I asked:
It has actually happened once in delphi 2010, version 11.08 I think. So
I assume there is no way to manually set the images and icons for the
editor?

Comments

  • edited January 2011

    We have not heard of this before. The Designer icons are stored in a .res
    file and loaded into a global image list. Each image resource has a name,
    the names are hard coded. See ppToolResources.pas and
    ppDesignToolActions.pas. The hints are likewise stored in a .res files, each
    with a numeric id. The id's are hard coded. Many of the hint id's are stored
    in constant arrays define in ppToolResources.pas and loaded into the Actions
    defined in ppDesignToolActions.pas. Because everything is hard code, it
    should either work or not work. Sounds like one solution is to do a build
    all. You could also try using the build with run-time packages option. If
    your application is very large, then you could also break it into packages.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.