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
1
vote
1 answer

TExcelApplication component not found (legacy conversion)

In a legacy Delphi-7 application, a TExcelApplication is used to export data to Excel. Porting this to Rio, Delphi sends mixed signals as to the availability of this component. When the component is put on a form, the IDE reports TExcelComponent…
Jur
  • 520
  • 2
  • 18
1
vote
1 answer

Handling intent result of multiple selected files from the storage

I have this headache with android Intents. i'm trying to select multiple image from the storage. i made it work till the point to handle the results. my guess is that some sort of For loop of get the path of all files?. The Result in my code returns…
1
vote
1 answer

How to center Form on second monitor?

I'm showing a Form on the second monitor (using this reference) and need it to appear centered. Here is my last attempt, but without success. How can I achieve it? MonitorForm.Left := (mInfo.rcWork.Width - MonitorForm.Width) div 2; …
user13342579
1
vote
1 answer

Screenshot not show mouse cursor when is moved to second monitor

I have been doing a lot of work lately with taking screenshots (for a remote desktop system) and just stumbled across a problem while I'm trying to implement support for multiple monitors. While taking the screenshot is OK, the method I'm using to…
user13342579
1
vote
1 answer

Compress with ZLIB to array of Bytes?

Can I somehow compress with Delphi using ZLIB (Deflate with ZLIB headers) and get an array of Bytes? Right now I am copying from TMemoryStream but it would be nice to not copy back to array (so it's faster overall) PackedStream :=…
Tom
  • 2,962
  • 3
  • 39
  • 69
1
vote
0 answers

TWSocket takes a while to reconnect

I have a timer with a 2 second interval. After 2 seconds, the socket is connected to with the below code: procedure TForm1.Timer1Timer(Sender: TObject); begin Timer1.Enabled := false; if WSocket1.State = wsClosed then begin try …
Jsk
  • 159
  • 1
  • 13
1
vote
0 answers

How to get notified after all form controls are scaled?

I have a combo box and a button on my form. When the application strts, Delphi scales everything on the form to the new monitor dpi. After this, I want to make the height of the button the same size as the height of the combo box, because they are…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
1
vote
1 answer

How to get TRTTIType for method linked generic type

I use Delphi 10.3. It is a kind of routine to get the corresponding TRTTIType for instance variables. But is there any way to fill the gap marked as * missing code * here: function getGenericTypeName : string; var ctx : TRTTIContext; aRT :…
SOLID Developper
  • 672
  • 4
  • 12
1
vote
1 answer

What is the purpose of the 'default' platform marker in the list of tstylebook styles?

UPDATE : I made a new test project from scratch and this one DID apply the style inside the default platform marker on my mainform on windows and android, so the behaviour seen below might have something todo with rest of my project..I will do some…
DDeberla
  • 77
  • 5
1
vote
0 answers

Cancel navigation for FMX TWebBrowser

I'm using using a TWebBrowser in a FireMonkey app (Delphi 10.3.3) and loading some dynamic HTML into it like this DocumentWebBrowser.LoadFromStrings(browser_html,''); In that HTML I have several links like
Miguel E
  • 1,316
  • 2
  • 17
  • 39
1
vote
0 answers

ScreenSnap not working anymore under Windows 10

There seems to be an issue with the TForm.ScreenSnap property on Windows 10. I always have ScreenSnap active for Main Forms, and the SnapBuffer set to 10 pixels. This works fine until Windows 10. Now, if ScreenSnap is active, the Form will stick to…
Gabriel
  • 20,797
  • 27
  • 159
  • 293
1
vote
1 answer

Can TRESTClient in Delphi Rio be made to work in Windows XP?

Using TRESTClient components I have added the ability of my app CW_EPG to access the SchedulesDirect.org JSON database under Windows 7 and higher, but running the app in Windows XP produces only the following error upon attempting to access the…
Terry Peterson
  • 121
  • 1
  • 8
1
vote
1 answer

Custom Component Icons Not Showing in Delphi 10.3

I just moved from Delphi 7 to 10.3 and was trying to install some of my older (VCL) custom components. I was finally successful in getting the code to compile, but I'm having trouble with something that seems like it should be trivial. The icons…
Jammer13
  • 21
  • 5
1
vote
0 answers

How to handle custom intent action

I'm trying get the custom intent from the java part of my software. In java part, I have an broadcastreciever, it make an intent and send it as broadcast: Intent i = new Intent(); i.setAction(CUSTOM_INTENT); context.sendBroadcast(i); In…
1
vote
2 answers

How to find COM ports of bluetooth device?

I am using Delphi 10.3 on Windows 10. I need to find the COM ports that a paired Bluetooth device is using, and then connect to the device. I have looked on Bluetooth manager and found nothing relating to COM port.
Hak
  • 69
  • 8