Jump to content

alogrep

Members
  • Content Count

    157
  • Joined

  • Last visited

Everything posted by alogrep

  1. David what am I supposed to show? I have a project with 116 units. I build it and I get the error.
  2. Hello Uwe. Well I added those paths (dto Source) because I was getting error like : could not compile unit lasses, controls, extrctrls etc. In fact I removed those paths and I get those errors again.
  3. HI. Has anyone installed succesfully Delphi 11.1. I get the checksum error shown in the attached image in the middle of the installation process. I contacte support but I got no answer.
  4. The 5th attempt succeded.
  5. I found the instructions. I hope I can use the migration tool (because my attempted install ituninstalled the existing data).
  6. Thanks Vandrovnik. How do you install from ISO?
  7. Hello. Does anybody know how to fix this? Suddenly when I do File -> Open recent the listbox appears off the top ot the screen ad I can only see a few recent files (none of the Projects). Thanks for any suggestion. Enrico
  8. alogrep

    File-> Open recent: way off the top of the screen

    Yes the number were 10 (projects) and 15 (files). Suddenly the listbox goes off the screen. Now I downloaded something with Getit, and it shows ok, for now . It is a bug.
  9. Hello Uwe. I am in trouble again. I left my project, after everythig was ok, for a month, and now again have the same problem: the old legacy glyphs with tpngobject do not show the images. The design components show in installed packages, but the unit with tpngobject images do now show the image. I uninstalled the package., I re-installed PngComponentsDesign.dpk from the sydney folder. I also re-named pngcomponents\pngobject to make sure it does not interfere in any way. But the (content of the) images are not shown. Any clue, please?
  10. I went step by step, and I found out than in the splashform creation process, it creates the png button wich in turns create the png image of the button. constructor TPngImage.Create; That is in Vcl.Imaging.PngImage.pas. At that point the alias (tpngobject) is set to tpngimage. Whis is something it could not be done at app start (as you said, an alias cannot be registered). I think that is what happens. But, whatever it is, the trick seems to work.
  11. . There is no Tpngobject word in the DFM. It just has this: object Image1: TImage Left = 0 Top = 0 Width = 1008 Height = 740 Picture.Data = { 0A54504E474F626A65637489504E470D0A1A0A0000000D494844520000078000...... etc. However, that pngcomponet in the splash form seems to do the trick. And I also need to keep the dfm compatile with XRE am my older Delphi for a while.
  12. Hello. I can not answer that question = I do not know the answer. However, the problem has something to do with path or dll delayed loading. I use a splashform in the app. I added a pngcomponet (the button, visible = false) to it and the main form with the png image DOES now show the image. If I remove that png button from the splash form, it does not.
  13. Sorry, I can not answer that question. I had done an update for Tokyo (I think was another pngoject compunets package, not yours) and there it worked fine.. When I put the cursor ofer the Tpngobjec it shows the hint "Tpngimage Defined in <blank> However if I comment out the resizing function and run the App, the image is NOT show, although at design time it IS shown.
  14. Thanks. I do not necessarely want to use the Pngobject. But a) the image picture graphic shows = NIL. What does it mean? (the image IS show) b) I need occasionally to resize the image. any other way to do it? I attach the resizing code in the file. code.txt
  15. I hope I am not becoming a nuissance, but it works ONLY PARTIALLY. The images are shown. But running an app with an image picture(Tpngoject), as shown the objecti Ispector, and trying to resize the image, the picture.graphic is shown as NIL on inspection. . and the resizing function crashes. I use this with image1 do PngSmoothResizeit(Tpngobject(picture.graphic),width-1,height-1); which works fine in oder delphi. (PngSmoothResizeit is takn from the original functions for tpngobject). Why is picture.graphic = NIL, if the image is shown? What is whown, if there is no graphic?
  16. It works fine , tank you!!
  17. Hello Uwe, I hope I am not abusing your patience. I found this behaviour, perheaps you can give me a clue as to what is wrong or at least a hint for a workaround. Start the IDE, open a unit with old png (tpngobject): the images are not shown. I close this unit. I open a dummy unit that has only this component in it: TPngImageCollection. Then I re-open the unit with the old png's and MAGICALLY the iomages are shown. Any idea? Thanks very much.
  18. Could this be related to Windows 10 Home 64-bit (My OS)?
  19. I re-installed the pngcomponents. I build it and Installed. The old pngs show OK. I close the IDE, re-start it, and they do not show at all. What happens when I cose the IDE? What is that "disappears" at closing th e IDE? It is beyond my comprehension. Hese are the files created when instaling the packages: Directory of C:\hmxe\pngcomp\packagessydney\Win32\Release 25/10/2021 04:36 p. m. <DIR> . 25/10/2021 04:36 p. m. <DIR> .. 25/10/2021 04:36 p. m. 15,739 PngBitBtn.dcu 25/10/2021 04:36 p. m. 2,156 PngButtonFunctions.dcu 25/10/2021 04:36 p. m. 10,046 PngCheckListBox.dcu 25/10/2021 04:36 p. m. 14,954 PngComponentEditors.dcu 25/10/2021 04:36 p. m. 1,990 PngComponentsRegister.dcu 25/10/2021 04:36 p. m. 12,207 PngFunctions.dcu 25/10/2021 04:36 p. m. 42,691 PngImageList.dcu 25/10/2021 04:36 p. m. 40,318 PngImageListEditor.dcu 25/10/2021 04:36 p. m. 8,050 PngSpeedButton.dcu Directory of C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl 25/10/2021 04:36 p. m. 103,424 PngComponents270.bpl 25/10/2021 04:36 p. m. 121,344 PngComponentsDesign270.bpl 2 File(s) 224,768 bytes Directory of C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\Win64 25/10/2021 04:33 p. m. 147,968 PngComponents270.bpl
  20. HelloUwe. Sorry again. But something weird happens: all works fine, UNTIL I exit Delphi Id and re-start it. At restart the images are not shown anymore. I define RegisterOldPngFormat in both runtime and design packages (in the release configuration). I work on a PC win64. For the runtime package (pngcompnents) I put target platform 64bit.. Build the 2 components creates the bpl's whown in the attached image. What's happening? why it workds if i stay in the IDE, but it does not work anylonger when i re-starte it? I appreciate very much your patient help.
  21. Thanks very much again! That was it (although I did not do it myself the first time around, or at least I do not remember doing it).
  22. alogrep

    Use old glyph with tpngobject in 10.4?

    Hi I have some legacy units with lots of glyph loaded with tpngoject. In my old Delphi the images are show well. In 10.4, they are simply ignored, not shown. If I inspect the DFM loaded in 10.4 the DATA section of the glyph is not present. Is there any way to make those units in 10.4 easier (or faster) than reload the images 1 by 1? ( I would also like to preserve the original unit to be used with the older version). Thanks.
  23. alogrep

    Use old glyph with tpngobject in 10.4?

    Hello Uwe. I am in trouble again. I left my project for a couple of months, and now again have the same problem: The design components show in insstalled packages, but the unit with tpngobject images do now show the image. I uninstalled the package., I re-installed PngComponentsDesign.dpk from the sydney folder. I also re-named pngcomponents\pngobject to make sure it does not interfere in any way. But the (content of the) images are not not shown.
  24. alogrep

    Use old glyph with tpngobject in 10.4?

    Sorry, it workds fine!. I think the error was that I had put in the library pngcomponents\PngObject\ (the newly installed package). I removed it and all is ok. Thank you very much
  25. alogrep

    Use old glyph with tpngobject in 10.4?

    Thanks Uwe. But still cannot have the glyph png image shown. I built and installed ok PngComponentsDesign.dpk (it shows in install packages. see attached image). I built PngComponents.dpk. But a form with components using a png image does not show the image (in my older delphi they show ok). Any hint as to what else should I do?
×