Jump to content

Uwe Raabe

Members
  • Content Count

    2750
  • Joined

  • Last visited

  • Days Won

    162

Everything posted by Uwe Raabe

  1. Uwe Raabe

    inherited dynamic message handlers

    The docs are pretty clear about it (Message Methods) :
  2. Uwe Raabe

    TDBComboBox in reverse..

    Create handlers for the DB fields OnGetText and OnSetText events and do the conversion inside. Note that the DBComboBox Items property still needs the list of valid text entries to select from.
  3. 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.
  4. 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;
  5. 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.
  6. 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;
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. Uwe Raabe

    RzButtonHints ?

    Showing an image inside the hint. For this screenshot I set the buttons Hint property to "My Title|Hello World|0":
  12. 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.
  13. Wipe Left to Delete is a standard functionality in FMX-TListView.
  14. 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.
  15. Uwe Raabe

    RzButtonHints ?

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

    Async Tasks in VCL Projects

    Fixed. Also the link!
  19. Uwe Raabe

    Async Tasks in VCL Projects

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

    What is ProDellInterface27 in the Delphi IDE???

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

    Asynchronous Programming Library

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