Jump to content

Uwe Raabe

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Uwe Raabe

  1. Uwe Raabe

    Prevent from closing when....

    The VCL already provides such a flag for you: TApplication.ModalLevel
  2. Version V15.0.37 of MMX Code Explorer introduces Structured Difference Viewer (former available as a separate product). It is registered as an External Difference Viewer in the IDE and can be used as an alternative way to compare source files.
  3. Usually the MMX setup installs the app and also registers it into the Delphi IDE. You only have to select it as the default viewer.
  4. I expect the dataset to be closed when SQL changes. Otherwise the records would not match the SQL anymore. One can easily extend this to all other properties that have influence on the data retrieved and the way it can be accessed. What would be the benefit of an immediate exception here? The author of the code wants to change the SQL, so what would be the gain from that exception (which happens at runtime btw.)? The dataset has to be closed anyway to change the SQL, so why not closing it automatically? Unfortunately this option is not available in the poll (at least as I understand it).
  5. Uwe Raabe

    Class tree utility released

    Of you compile with packages and allow external packages be loaded dynamically.
  6. Uwe Raabe

    Class tree utility released

    Both tools have a completely different approach. While DelphiAST analyzes source code, the class tree utility requires the classes to be compiled into the exe.
  7. Uwe Raabe

    Edit Entity shortcut inconsistent

    If possible, could you be a bit more specific? I mean, that is a bit vague, isn't it?
  8. Uwe Raabe

    Format uses clause

    You have to activate that option:
  9. Uwe Raabe

    Format uses clause

    You can define the group names per project in MMX Properties - Project options: A single identifier is treated as a group prefix which has to be followed by a dot (like System, VCL, FireDAC). You can also use wildcards like Rz* for all units from Raize Components (KSVC). Unit names not covered in one of the schemes above can be listet in brackets. This is the setting for MMX itself: (ToolsApi,DesignIntf,DCCStrs,DockForm,TabDock);Winapi;System.Win;System;Xml;Vcl;VirtualTrees*;Rz*;Tb*;Png*;MMX The settings are stored in the dproj file.
  10. It needs some code to be added, but you can declare a const array[<enumeration>] of Integer with values 0 in all places where the enumeration is used in some way. const cCheckProjectType: array[TProjectType] of Integer = (0, 0, 0, 0); If you now extend TProjectType the compiler will stop at all places where such a declaration is present and you can inspect the code around for correct TProjectType usage. After that is done you extend the array values to make the compiler continue to the next problematic position.
  11. Uwe Raabe

    Using Attributes in class declarations

    Very good point 👍
  12. Enclosing the loops with a qryItemReceita.DisableControls/EnableControls should help a bit.
  13. Uwe Raabe

    Delphi compatibility with Windows 11?

    You can still have the first, but nevertheless the second being active. Usually an UEFI BIOS can be made working as an old fashioned one. Unfortunately switching that back to UEFI mode requires some significant work to make Windows boot again.
  14. Uwe Raabe

    Delphi compatibility with Windows 11?

    Two things that are sometimes overlooked: UEFI BIOS TPM 2.0 For the second item there is an article (in German): Windows 11 läuft wohl nicht auf Intel-Macs
  15. Uwe Raabe

    Build / Output messages filtering plugin

    AFAIK, there is currently no mechanism to intercept the message display via OTAPI.
  16. Uwe Raabe

    Apache Module with TDataSet Needs Wait Cursor

    Have you checked that opening the relevant FireDAC dataset (whatever is happening in dmParksDB.OpenParks) actually contains data on Linux? I mean, if there is no data in the dataset what can we expect?
  17. Uwe Raabe

    Apache Module with TDataSet Needs Wait Cursor

    I get the feeling that is isn't related to the wait cursor, but the timer implementation that comes with either of the Wait implementation units. While both the VCL and FMX implementations use a TTimer (VCL/FMX), the console implementation simply doesn't support a timer at all.
  18. Uwe Raabe

    Apache Module with TDataSet Needs Wait Cursor

    You can use the console cursor even in a VCL or FMX application. So setting the provider to Console should work in all cases.
  19. Uwe Raabe

    Sorting question

    Sorting classes is usually not working due to dependencies between them. You might have more luck using MMSDV to compare the files.
  20. DIV and round(/) will give different results depending on input.
  21. QP is merely a bug tracker meant for collecting bugs from users and solve them somewhere in the future (well, in theory). With that in mind, two days are nothing. As the issue is not even opened, probably no one in charge has even took notice. If you want instant support you better open a support case. With an active subscription you are entitled for three issues per year. IIRC the URL is https://idera.secure.force.com/embtsupport/
  22. If the error just could be reproduced here in my environment, I would do. Nevertheless, I will add madExcept in the next release.
  23. The stucture relates to the class and its methods as seen in the tree view to the left. F.i. if only the order of methods in a class changes, be it in the interface or the implementation, the structured difference would rate that as equal. Inside each method the diff is the same as a simple line diff.
  24. Looks pretty decent so far.
  25. Googling that error code gives one usable hint: As I have not the slightest idea which DLL may be causing this I would like to ask if you can try some Sysinternals magic to find that out. It might be related to using Windows 7 and MMSDV being compiled with Delphi 10.4.2.