Jump to content

Uwe Raabe

Members
  • Content Count

    2839
  • Joined

  • Last visited

  • Days Won

    168

Everything posted by Uwe Raabe

  1. Uwe Raabe

    RzButtonHints ?

    Are you talking about TRzBallonHints? I never heard of RzButtonHints. If so, they are working here. So may be something special on your side. Note that Delphi provides its own TBalloonHint component for a couple of versions.
  2. I wrote an article about Async Tasks in VCL Projects
  3. Uwe Raabe

    Async Tasks in VCL Projects

    Fixed. Also the link!
  4. Uwe Raabe

    Async Tasks in VCL Projects

    Sources also available on https://github.com/UweRaabe/AsyncTasksInVclProjects
  5. Uwe Raabe

    TPanel and AutoSize problem (Delphi 11)

    Setting AutoSize of a panel to true makes the panel adjust its size so that all contained controls are still visible, but nothing more. It takes AdjustWithMargins of the controls into account. The panel Align value takes precedence over the AutoSize.
  6. Uwe Raabe

    TPanel and AutoSize problem (Delphi 11)

    And to what controls are you expecting the panel to adjust its size? Or more general, what do you think what AutoSize does?
  7. Uwe Raabe

    TPanel and AutoSize problem (Delphi 11)

    Works perfectly with a simple test program. Probably some settings on your side. Can you attach a small example so that we can see a bit more?
  8. Uwe Raabe

    What is ProDellInterface27 in the Delphi IDE???

    Probably this one: https://www.prodelphi.de/indexpd.html
  9. Uwe Raabe

    Asynchronous Programming Library

    OK, it may still be true that for today no one else actually knows how to use it properly.
  10. Uwe Raabe

    Asynchronous Programming Library

    Ahem, AFAIK it was in fact Allen Bauer who laid out the architecture of the APL - if not actually wrote the whole stuff himself: A Sink Programming More A Sink Kronos programming Value Capture vs. Variable Capture
  11. Uwe Raabe

    GDI object leak and overflow when TImageList is on a frame

    That will also save memory when multiple instances of the frame are created.
  12. Uwe Raabe

    Can't load package

    The REST packages depend on the LiveBinding packages. I cannot say why it happens out of a sudden, but even when the LiveBindings Design packages are disabled, the Runtime packages should still be found.
  13. Uwe Raabe

    Can't load package

    That can also mean a package required by the named ones and which cannot be found or cannot be loaded for whatever reason.
  14. Seems to be some roadblock there: I would try to remove that roadblock first. There will be other paths being blocked by it which are just not visible yet.
  15. Uwe Raabe

    GDI object leak and overflow when TImageList is on a frame

    Yes, is was MS itself making that error. BTW, Windows 10 requires a reboot for the changes to get applied - and there is a similar entry under the WOW6432Node (both should match). Anyway, there were several things done to fix a GDI leak and significantly reduce the overall GDI handle usage in Delphi 11.
  16. Uwe Raabe

    GDI object leak and overflow when TImageList is on a frame

    What is your registry value for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\GDIProcessHandleQuota? Could it be that it is 10000 decimal instead of 10000 hex? See more here: https://docs.microsoft.com/en-us/windows/win32/sysinfo/gdi-objects
  17. Uwe Raabe

    Get respense with rest debugger when regle is false

    That is not the Authentication tab.
  18. Uwe Raabe

    Get respense with rest debugger when regle is false

    Can you show the Authentication tab, please?
  19. Details from Marco: https://blogs.embarcadero.com/rad-studio-11-alexandria-patch-1-available/
  20. That would only qualify as a LTNS version
  21. Uwe Raabe

    Unit testing for beginners

    OT: I was very pleased to see GitHub recently offering Colorblind Themes for people like me, who have difficulties to distinguish between red and green. (Actually I am able to distinguish both colors, but they look almost the same and I cannot say which one is green and which is red)
  22. If you manage to load the old TPngObject instances hidden in Picture.Data, you can export those as PNG files and load them again. This way they should end up as TPngImage. Not sure what XRE means, but TPngImage exists in Delphi since Delphi 2009.
  23. Well, I can. The problem is that TPngObject is declared as an alias for TPngImage in Vcl.Imaging.PngImage.pas. Unfortunately an alias cannot be registered as an alternative type, because internally it is the same type. PngFunctions.pas declares its own TPngObject as descendant from TPngImage, but these two TPngObject are not the same types. These both types don't play well together somehow. To get things straight please remove the RegisterOldPngFormat define and compile the PngComponent packages again. Then open all your DFMs in a text editor (convert them first in case they are still binary) and replace all TPNGObject references with TPngImage.
  24. OK, that's definitely not intended. The shortcut should only trigger when UDA is focused. I will see what goes wrong there.
  25. Uwe Raabe

    Pos, SplitString

    uses System.StrUtils; var S: string; begin if Memo.Text = '' then raise Exception.Create('no SQL found'); S := SplitString(Memo.Text, ' ')[0]; case IndexText(S, ['SELECT', 'INSERT', 'UPDATE', 'DELETE', 'CREATE', 'ALTER']) of 0: MyQuery.OPEN; 1, 2, 3, 4, 5: MyQuery.EXECSQL; else raise Exception.Create('unhandled SQL command'); end; end;
×