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
3
votes
2 answers

How to install Indy on Delphi 10.3 Rio?

The help says "You can use GetIt Package Manager to discover and install additional third-party software onto RAD Studio." but Indy is not available in GetIt I dowloaded newest files from Github. I run the Fullc_Rio.bat file then opened…
Tom
  • 2,962
  • 3
  • 39
  • 69
3
votes
1 answer

No overloaded version with these arguments - var param with read/write property

I have two overloaded procedures, of which I want to call the second one: function ModifySyncProperties(AEWSItemId: String; AEvent: TcxSchedulerEvent; var AEWSChangeKey: String): Boolean; overload; function ModifySyncProperties(AEWSItemId: String;…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
3
votes
1 answer

32-bit transparent PNG problem in a legacy Delphi project

I try to modernize a legacy Delphi VCL project using Delphi 10.3.3. I can compile and build the application without any problem. The only problem is backgrounds of transparent PNG are displayed as black in runtime. Here is what I do: Add MainMenu1…
Xel Naga
  • 826
  • 11
  • 28
3
votes
0 answers

How send correctly mouse coordinates inside TImage component to Android Path.moveTo() and Path.lineTo() methods?

I found a android code that your goal is simulates an L-shaped drag path: 200 pixels right, then 200 pixels down. These values was predefined on code, how this could be achieved using the mouse coordinates of a TImage component and your events…
3
votes
0 answers

How connect a client app to server app, passing through a third app hosted in a VPS (Virtual Private Server)?

I have a client > server application where are estabilished connections using Socket components (TClientSocket of client connects to TServerSocket of server). Now i wish that clients connect first to a third application (a kind of "bridge of…
FLASHCODER
  • 1
  • 7
  • 24
3
votes
1 answer

How to draw a border on a FireMonkey TListView object

If you drop a FMX.TStringGrid onto a new FireMonkey form, the grid gets shown with a thin border. If you drop a FMX.TTListView onto the form, there is no border. Neither component seems to have a property for enabling/disabling the border, or…
SiBrit
  • 1,460
  • 12
  • 39
3
votes
0 answers

Delphi TLabel with long text

In Delphi (10.3.2 in this case but also in earlier versions) I have a TLabel which has text too long to fit. Word wrap is unchecked for the TLabel. On Windows, the text is truncated and an ellipsis is added at the end of the TLabel. On MacOS, the…
Mike at Bookup
  • 1,211
  • 14
  • 32
3
votes
1 answer

HTTPRio.HTTPWebNode.OnBeforePost changed in Delphi 10.3, lost parameter Data

I have a component that uses HTTPRio.HTTPWebNode.OnBeforePost that previously used the data parameter, but in version 10.3 of Delphi this parameter was replaced. Before Delphi 10.3: procedure TNotaBlu.BeforePostHTTPRequest(const HTTPReqResp:…
Luiz
  • 113
  • 7
3
votes
1 answer

TIdHTTPProxyServer raising "Unknown Protocol" RSHTTPUnknownProtocol exception

I'm recoding an old Delphi XE program using Delphi 10.3 Rio. It uses the TIdHTTPProxyServer Indy component listening on 127.0.0.1:80. with IdHTTPProxyServer.Bindings.Add do begin IP := '127.0.0.1'; Port := 80; end; …
Jack
  • 33
  • 3
3
votes
1 answer

dirtest example code included in Delphi Rio help. Is there something obvious I have omitted?

I have populated a form with required components and pasted the example code into a buttonclick event. I have added the TStringDynArrayarray and TSearchOption type declarations but I get compilation errors as shown below. unit…
3
votes
1 answer

Upgraded Custom Component won't compile

We're currently looking at upgrading some of our Delphi applications from XE7 to 10.3 and have run into a problem with our custom components. I've tried 2 options. I've copied, opened in 10.3, and re-compiled the original component package. I've…
Dan Kelly
  • 2,634
  • 5
  • 41
  • 61
2
votes
2 answers

Constant array from set

I have the following code for creating superscript versions of the digits '0' to '9' and the signs '+' and '-' const Digits = ['0' .. '9']; Signs = ['+', '-']; DigitsAndSigns = Digits + Signs; function SuperScript(c: Char): Char; { Returns…
Matej
  • 442
  • 3
  • 9
2
votes
1 answer

When is it safe to Dispose a nil pointer?

In the following example: program DisposeProblem; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; type Person = record name: string; age: Integer; end; var p: ^Person; begin p := nil; Dispose(nil); // OK Dispose(p);…
KleberPF
  • 120
  • 1
  • 7
2
votes
1 answer

How to resize image using Skia4Delphi

I can load and save image files using Skia4Delphi. Here is my code: var LImage: ISkImage; LSurface: ISkSurface; LPaint: ISkPaint; begin LImage := TSkImage.MakeFromEncodedFile('C:\IMAGE-OLD.PNG'); LPaint := TSkPaint.Create; LSurface :=…
Xel Naga
  • 826
  • 11
  • 28
2
votes
1 answer

FMX TMemo and BeginUpdate

How do I prevent a FMX TMemo from updating while loading data into it? Memo1.Lines.BeginUpdate doesn't seems to be the answer. Code to reproduce: Create a new FMX application Place a TMemo on the form Add a OnDoubleClickEvent to it and then the…
Jens Borrisholt
  • 6,174
  • 1
  • 33
  • 67