Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1099
  • Last Modified:

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.

0
yarekGmail
Asked:
yarekGmail
  • 3
  • 3
2 Solutions
 
aflarinCommented:
Try to format the translated DFM like the original DFM
0
 
Geert GruwezOracle dbaCommented:
make translation of it ... ???

add a new one, and see what it does
it may also be a error in the component itself
0
 
yarekGmailAuthor Commented:
Project ->resources

SC.jpg
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
yarekGmailAuthor Commented:
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
0
 
aflarinCommented:
open this resources into any resource editor, for example XN Resource Editor:

http://www.wilsonc.demon.co.uk/d10resourceeditor.htm

then format manually the translated DFM like the original DFM
0
 
yarekGmailAuthor Commented:
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
0
 
aflarinCommented:
it may be bug of delphi translation tool.

did you installed the latest updates for D6?
http://edn.embarcadero.com/article/38607
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now