Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 05/20/24 in Posts

  1. Stack Overflow Developers Survey for 2024 is live https://stackoverflow.com/dev-survey/start Let's put Delphi on the map
  2. Kazantsev Alexey

    Delphi Parser/Compiler Limitation?

    Use ampersand operator, Luke. program Project2; {$APPTYPE CONSOLE} uses System.TypInfo; {$SCOPEDENUMS ON} type TEnums = (&TRY, &SHR, &XOR, &IS, &AS); begin WriteLn(GetEnumName(TypeInfo(TEnums), Ord(TEnums.SHR))); WriteLn(GetEnumValue(TypeInfo(TEnums), 'shr')); ReadLn; end. Output: SHR 1
  3. I have the same UAC setting as you but I don't have any issue with the IDE requesting elevated privileges. There is something suspect on your system. Don't relax UAC settings!
  4. Yes, 12.1 Patch 1 is installed:
  5. Brandon Staggs

    What is the best AI at Delphi

    I've had some success with https://www.phind.com/search?home=true but lately just the built-in copilot in Windows has been sufficient. But I never rely on AI for copy-and-paste solutions.
  6. Brandon Staggs

    How to never hide second form ?

    What you should probably do is drop a breakpoint and follow all of the code that happens when you minimize the main form. You'll see what is being done in FMX and what you may need to change to get the behavior you want.
  7. Uwe Raabe

    VCL Form Designer Zoom

    Scaling forms is always problematic. We can see this every day with applications (not only Delphi ones) when used in a mixed DPI environment. Although I don't actually suggest to use it, there is an option to switch the form designer using a special PPI. The drawback is that it is used for all forms and not only for the large ones. Naively thinking that scaling the form display could easily be done by drawing onto a bitmap and simply display that downscaled, but that would imply that the whole user interaction has to be made with a bitmap instead of real controls. The effort to implement that with all its edge cases is way more than one would expect.
×