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
2
votes
1 answer

How to make TImage high-DPI aware using Delphi 10.3.3?

I'm using TImage components in order to display image files. However the pictures look blurry when displayed in high-DPI monitors. If I use high-resolution images, they are stretched in normal monitors and looks bad. I'm aware Delphi 10.4 has…
Xel Naga
  • 826
  • 11
  • 28
2
votes
1 answer

How to save Viewport3D as Image File?

I'm developing a Firemonkey (FMX) application using Delphi 10.3.3. I have a Viewport3D component. Inside the Viewport3D, i have many 3D Shapes such as TCube and TRectangle3D. I need to save the contents of the Viewport3D (a screenshot of the current…
Xel Naga
  • 826
  • 11
  • 28
2
votes
0 answers

How to encrypt large files using SynCrypto?

SynCrypto is an open source data encryption library for Delphi and FPC included in SynPDF. I use this code for file encryption: var inputfile : RawByteString; outputfile: RawByteString; begin inputfile := StringFromFile('c:\test1.mp4'); …
Xel Naga
  • 826
  • 11
  • 28
2
votes
3 answers

How can I detect from code when FastMM4 is used

I want to show a label on a form when FastMM4 is being used ('Uses' in the project file), so that I don't make the mistake of giving the executable to someone who doesn't have FastMM_FullDebugMode.dll installed. I tried these, but they have are no…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
2
votes
1 answer

Display the seconds of TMediaPlayer.Duration and TMediaPlayer.CurrentTime using Delphi for Android

I'm using Delphi 10.3 for developing android mobile application. I'm using the TMediaPlayer to play the mp3 files. I want to display the current time and remaining time of the currently playing media file with the minutes and seconds (mm:ss - ref:…
test12345
  • 367
  • 1
  • 21
2
votes
2 answers

How to print image that is larger than one page

I need to print an image that is aquired from a scanner. When the scan fits on one A4 page, there is no problem and my code prints perfect. However, when the scan does not fits, but needs 2 pages, only one page is printed. The first. This is my code…
GuidoG
  • 11,359
  • 6
  • 44
  • 79
2
votes
1 answer

TNetHTTPClient OnRequestError does not trigger

I must be overlooking something.... Why doesn't the NetHTTPClientRequestError get triggered here? type TUpdateChecker = class private var FHTTP : TNetHTTPClient; var FAbort : Boolean; procedure…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
2
votes
1 answer

How to send a method pointer as a window message parameter?

I want to call a method that is sent as a parameter through a window message. I tried as in the example below... but I get access violation when the DoWork method is executed. I think the procedural CallBack variable is not reconstructed properly in…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
2
votes
0 answers

Fastreport - barcode1 color bar property does not exist

After create two identical applications one work fine other has below error. Also some other old app work some get error. Any solution where is problem, I use Fast report 6? barcode1 colorBar property does not exist!
babayaro
  • 491
  • 3
  • 15
2
votes
1 answer

RichEdit neglects non-breaking space

I try to add text containing a non-breaking space (Unicode U+00A0) to a RichEdit with property Wordwrap = True. I use the following code: RichEdit.Lines.Add('Some text some text some text 1000' + #160 + 'km some text'); This gives a space between…
Matej
  • 442
  • 3
  • 9
2
votes
1 answer

Multiple TFileStreams, TStreamWriter writing to same file

I start using a TFileStream and TStreamWriter to write simple text logfiles (instead of old Writeln(T,....)). And I have multiple applicatiosn writing to the same logfile. Each appplication has its own TFileStream of course and they each open the…
Wolfgang Bures
  • 509
  • 4
  • 12
2
votes
1 answer

How to allow Label Font text colors in Delphi? ( Custom Styles issue )

I am trying to set Label font colors, like this: TLabel1.Font.Color := clGreen; TLabel2.Font.Color := clBlue; TLabel3.Font.Color := clRed; But when I choose a Custom Style: Project -> Options -> Application -> Appearance -> Custom Styles Enable…
2
votes
1 answer

How to create a TEdit with rounded corners using Delphi for Android?

I'm using Delphi 10.3 to develop an Android application. Is there any way to create a TEdit that has rounded corners? Found a link for How to create EditText with rounded corners?, how can I do the same thing in Delphi?
2
votes
1 answer

I don't know if I need to or how to implement those 3 basic methods of an interface

I want to implement an interface, but I cannot declare it from TInterfacedObject, and in this case the documentation says that I must implement QueryInterface, _AddRef, _Release. But I am not sure if this is mandatory. I haven't really worked with…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
2
votes
1 answer

Is it possible to create a DataSnap project in Delphi 10.3.3 Community Edition?

Is it possible to create a DataSnap project in Delphi 10.3.3 Community Edition? I could not find the Web > DataSnap project.