Questions tagged [delphi-10.3-rio]

Delphi 10.3 Rio is a specific version of Delphi released in November 2018.

Delphi 10.3 Rio supports development of applications covering 32-bit and 64-bit, 32-bit, 32-bit and 64-bit, 32-bit, and server 64-bit. Windows applications may be built using either the framework or the (FMX) framework, whereas the OSX and mobile platforms are built under the FireMonkey framework only.

This version of Delphi brings several enhancements to the core Delphi pascal language, including inline variable declarations and type inference, as well as RTL performance improvements, and changes to Delphi's ABIs for better C++ interoperability across all platforms. It also sports several IDE UI redesigns, better High-DPI support to the VCL, support for iOS 12 and Android API level 26+, and begins Embarcadero's push to phase out its ARC memory management model for TObject classes, starting with the Linux 64-bit compiler.

Always use the tag alongside this tag.

References

546 questions
5
votes
4 answers

How to detect Windows 11 using Delphi 10.3.3

I use TOSVersion.ToString function (uses SysUtils) to detect Windows version. However this is what I get in Windows11: Windows 10 (Version 10.0, Build 21996, 64-bit Edition) Is there any reliable way to detect Windows 11? I'm using Delphi…
Xel Naga
  • 826
  • 11
  • 28
5
votes
1 answer

Size of hints in Delphi 10.3 Rio

In general, the multiple-monitor support in Delphi 10.3 works smoothly. However, I have a problem with the size of hints on multiple monitors. To reproduce the problem you need a multiple monitor system, preferably with identical monitors. Create a…
Matej
  • 442
  • 3
  • 9
5
votes
1 answer

Disable close icons on editor tabs?

After upgrading from Delphi Tokyo 10.2.x to Rio 10.3.1, the tabs for the files in the editor now have close icons: Close icons in Delphi Rio 10.3.1 - Mouseover makes others visible/active No close icons in Delphi Tokyo 10.2.x Especially with…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
5
votes
2 answers

Save desktop layout in Delphi Community Edition

I am wondering if it is possible to save a Desktop Layout while using Delphi 10.3 Community Edition. I am doing this process, but I am not finding the Save Desktop Layout Option. View --> Desktops --> Save Desktop Layout EDIT Answer by Uwe Raabe
Soon Santos
  • 2,107
  • 22
  • 43
4
votes
1 answer

Why PPI reported by Delphi is different from the calculated one?

I use Delphi 10.3 Rio, and need to know the screen PixelsPerInch ratio to scale my application accordingly. Calculating with the formula, my screen has 142 ppi. (Real values are: 15.5" diagonal and 1920 x 1080 resolution). But when I read in Delphi…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
4
votes
1 answer

How get compiled date of a dll file?

I'm using this code to capture compilation date of a executable (.exe). I'm searching a solution to achieve the same to a .dll file. When this code is inserted in a dll project and injected/or using exported function in some executable (.exe), the…
user13342561
4
votes
1 answer

How can I overcome memory leak in accessing TWebBrowser.Document in Delphi 10.3.3

I'm using this code from StackOverflow (How can I get HTML source code from TWebBrowser) to get the full response from a webpage: function TMain.GetWebBrowserHTML(const WebBrowser: TWebBrowser): String; var LStream: TStringStream; Stream:…
4
votes
1 answer

How to create an instance of every form in my project?

I have ported an application from ADO to FireDAC applying several RegExp replaces on the source code to convert the ADOQuery, ADOTables, ADOCommands, ADOStoredProcs, etc. ... to the corresponding FireDAC components. It has worked fine, but now when…
Marc Guillot
  • 6,090
  • 1
  • 15
  • 42
4
votes
1 answer

How to do Unicode decoration on a Delphi memo

I have a small Delphi 10.3.3 app that has some text editing functions, using a TMemo where the user type the text. I'm trying to include some formatting options, something as this site provides…
delphirules
  • 6,443
  • 17
  • 59
  • 108
4
votes
1 answer

Display language of current user (in English) using Delphi?

Some Windows computers have multiple display languages installed. I can get the current user's UI language in that language using the function: function GetUsersWindowsLanguage: string; var WinLanguage: array [0..50] of char; begin …
Xel Naga
  • 826
  • 11
  • 28
4
votes
1 answer

How to invoke a VBscript function from pointer obtained by Getref in a Delphi COM server app

I have a COM server App that and need to link callbacks to specific events which are late bound. My test VB script is as follows Sub Main dim Frm Set Frm=NewForm("Form1") Frm.OnActivate = getRef("Frm_OnActivate") a= Frm.Showmodal end…
Andy k
  • 1,056
  • 1
  • 11
  • 22
4
votes
1 answer

TBitmap.SaveToFile is changing a bitmap

I use Delphi 10.3. This code works just fine. It loads a 32bit BMP with alpha channel and displays with proper transparency: Bmp := TBitmap.Create; Bmp.AlphaFormat := afDefined; Bmp.LoadFromFile('bbb.bmp'); …
Tom
  • 2,962
  • 3
  • 39
  • 69
4
votes
0 answers

Delphi 10 TRestClient MIME boundary issue

I am trying to consume a REST service using TRestClient but I believe there is an issue with the boundary string for multipart content. I am capturing the body of the request I am sending, and this is the content type header: Content-Type:…
Miguel Febres
  • 2,153
  • 2
  • 21
  • 31
4
votes
1 answer

Transparent PNG image loaded from resource file, resized with Grapics32 and drawn on the Canvas

I need a little help... I have a transparent PNG image in my application resources. Until now I was loading it in a TPngImage and draw it on the screen with Canvas.Draw(X, Y, PngImage);. And it was drawn transparently. Now I updated my application…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
4
votes
1 answer

How to compare two dates of dd/mm/yyyy format?

I have two files and want compare yours compilation dates for a future update. Suppose that the new file have a date: 20/09/2019, and old file a date: 19/09/2019. How compare these two date on same format (dd/mm/yyyy)? var UpDate, OldDate:…
FLASHCODER
  • 1
  • 7
  • 24
1
2
3
36 37