Solved

delphi 6 TPNGImageList

Posted on 2010-08-13
7
1,057 Views
Last Modified: 2013-11-23
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
Comment
Question by:yarekGmail
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 13

Expert Comment

by:aflarin
ID: 33428306
Try to format the translated DFM like the original DFM
0
 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 33428420
make translation of it ... ???

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

Author Comment

by:yarekGmail
ID: 33428566
Project ->resources

SC.jpg
0
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!

 

Author Comment

by:yarekGmail
ID: 33428580
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
 
LVL 13

Accepted Solution

by:
aflarin earned 500 total points
ID: 33428606
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
 

Author Comment

by:yarekGmail
ID: 33428665
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
 
LVL 13

Assisted Solution

by:aflarin
aflarin earned 500 total points
ID: 33428946
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question