Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 10/07/23 in Posts

  1. Alexander Sviridenkov

    Coming soon

  2. futuron

    macOS Sonoma and UI layout

    Maybe the following is a proper solution (at least until Embarcadero gets their act together): Scaling issue on macOS 14 (Sonoma) Using Delphi 11.3 (and probably earlier), apps on macOS 14 (Sonoma) may appear to have the wrong scale, depending on the screen resolution. This is an official workaround based on this Quality Portal report. 1. Copy FMX.Platform.Mac.pas from the source\fmx folder and put it in the search path for your project, e.g., the same folder as the project, or add the unit directly to your project in project manager. (Remeber to remove the read-only attribute from the file before you start making any changes). 2. Modify the TMacWindowHandle.GetScale method as follows: function TMacWindowHandle.GetScale: Single; begin if TOSVersion.Check(14) and not GlobalUseMetal then Result := 1 else Result := Wnd.backingScaleFactor; end; This is not mine, I found it on one of the social networks. Normally I would post a link but this forum page flagged it as spam. For that reason I copied and pasted the text.
  3. Hans J. Ellingsgaard

    Using Dymo LabelWriter from Delphi

    Can't you design the badge in a report designer, like Fast Report, and print directly to the printer driver?
  4. Edwin Yip

    Coming soon

    SQL is the most proven and widely-used DSL on earth, and it's the best option. Forget about those clunky and strange syntax of the so-called full-fledged ORM's.
  5. Geoffrey Smith

    CURL to REST Debugger

    Just an slightly related aside. You can use ChatGPT to convert a curl command to delphi code. It is handy because a lot of REST api documentation may have a curl command for a call, but no Delphi version.
×