Link to home
Start Free TrialLog in
Avatar of yarekGmail
yarekGmail

asked on

delphi 6 TPNGImageList

Hello experts,
I have a problem with TPNGImageList
When I use it with delphi6 and make translation of t
he delphi form through the resource manager included in delphi, I have an error in the translated .DFM

is there a way to solve that ?

It seems the translated DFM is:

PngImages= <item PngImage.Data =

whereas the original DFM is :

   PngImages = <
      item
        PngImage.Data = {


ANy idea ?
Thanks a lot.

Avatar of aflarin
aflarin

Try to format the translated DFM like the original DFM
Avatar of Geert G
make translation of it ... ???

add a new one, and see what it does
it may also be a error in the component itself
Avatar of yarekGmail

ASKER

Project ->resources

SC.jpg
here is the (french) resources.
Once I do that I got an error.
I am 100% sure, it is this component since when I remove it, everything works

Trouble is I need to use this component !
regards
ASKER CERTIFIED SOLUTION
Avatar of aflarin
aflarin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am not really looking for another resource editor and anyway I do not know how this new tool could help me to localize my application (frnech/english/spanish)
I have been done that through delphi builtin resources and it alsways worked fine.
But something is wrong with that TPNGImageList component which infact forgets an
"{" when the DFM is translated

the translated DFM is :
PngImages= <item PngImage.Data =

whereas it should be
PngImages= <item PngImage.Data = {

I would like to understand why this happens, and how to solve that: If I change that manyally it works until I don't update the resources

regards
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial