Jump to content

Uwe Raabe

Members
  • Content Count

    2545
  • Joined

  • Last visited

  • Days Won

    147

Everything posted by Uwe Raabe

  1. Uwe Raabe

    Raabe Software directory??

    Hi Ian, actually both. The Programs folder contains all the files needed for the installation, while the other one stores dynamic files like usage, history and so on. There is also a third folder under the Roaming profile where some other supplementary files are stored.
  2. While the above is valid for record helpers, it is indeed possible to extend class helpers. (It es even documented: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Class_and_Record_Helpers_(Delphi)#Helper_Syntax) In this example we extend the existing class helper TRESTRequestParameterHelper from REST.Client.pas (Delphi 11) with another method without hiding the ContentType member of TRESTRequestParameterHelper. type TMyRESTRequestParameterHelper = class helper (TRESTRequestParameterHelper) for TRESTRequestParameter procedure MyTest; end;
  3. Uwe Raabe

    Bookmarks dead?

    Getting IDE plugins support High DPI is not that difficult in the first place, just tedious. The tricky part is to keep it compatible with older Delphi versions. Most likely Embarcadero will not even consider the latter, so the effort stays manageable.
  4. TZipFile.Filenames creates the result array each time on the fly. Caching that in a local variable should speed it up a bit. As an alternative you can use an array iterator: for var filename in zip.FileNames do begin vZipContents.Add(fileName); end;
  5. Uwe Raabe

    Many TTasks

    Even if you know that there are 8 threads possible to run in parallel on your machine, it isn't guaranteed that this will actually happen. There can be other tasks from other processes or the OS itself occupying some CPUs which leaves you in the same problem as having more tasks than there are CPUs.
  6. Uwe Raabe

    Deprecated units

    Simply remove it from the uses, wait for the compiler to complain and look which unit contains that symbol now. It probably can found in the ToolsAPI source folder.
  7. Uwe Raabe

    Avoiding use of BPLs

    What baffles me is the appearance of designide in the used packages list. That one is supposed to be used in design time packages only.
  8. Uwe Raabe

    REST-JSon-Helpers got an update

    REST-JSon-Helpers unit got an update. The unit contains the sources described in my articles Serializing Objects with TJson and Serializing Generic Object Lists with TJson. While the previous version as described in the article was based on declaring a new interceptor class given to the attribute, the current implementation doesn't need that interceptor, but derives from the (now generic) attribute. The new implementation allows to decorate the derived list class directly removing the need to decorate each field with that attribute. In addition the new approach is able to convert a list instance directly into a Json array with out the need of a wrapper class. Also supported is reverting a Json array into a TArray<T>, which can easily be added to a corresponding list.
  9. Uwe Raabe

    RzButtonHints ?

    Showing an image inside the hint. For this screenshot I set the buttons Hint property to "My Title|Hello World|0":
  10. Uwe Raabe

    RzButtonHints ?

    Not when you follow my hint with the TDatamodule. Well, tastes may be different. I prefer the use of an image list and the fact that it is probably better supported in newer Delphi versions than the Raize one.
  11. Wipe Left to Delete is a standard functionality in FMX-TListView.
  12. Uwe Raabe

    RzButtonHints ?

    TRzBallonHints acts application wide, while TBallonHint can be tied up to the form as well as down to individual components. Placed onto a TDatamodule it can server multiple forms.
  13. Uwe Raabe

    RzButtonHints ?

    Did you connect the TBallonHint component to the CustomHint property of the form/control?
  14. 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.
  15. I wrote an article about Async Tasks in VCL Projects
  16. Uwe Raabe

    Async Tasks in VCL Projects

    Fixed. Also the link!
  17. Uwe Raabe

    Async Tasks in VCL Projects

    Sources also available on https://github.com/UweRaabe/AsyncTasksInVclProjects
  18. 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.
  19. 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?
  20. 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?
  21. Uwe Raabe

    What is ProDellInterface27 in the Delphi IDE???

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

    Asynchronous Programming Library

    OK, it may still be true that for today no one else actually knows how to use it properly.
  23. 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
  24. 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.
  25. 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.
×