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
0 answers

EIntfCastError 'Interface not supported'

I am trying to save and load an xml file from my hard disk drive by calling the above code TS.SaveToFile(Def_Response_XmlFile, TEncoding.UTF8); XMLResponseDoc := LoadResponseDoc(Def_Response_XmlFile); But when I called the following function …
yannis_kal
  • 55
  • 6
1
vote
1 answer

How to properly fetch the next rows in a database

I have tried using RecsSkip as found here however when I set RecsSkip it still grabs the first set of rows. I have tried using FetchNext which works for a little while. When I grab the second set it works then will not grab the third set. First…
krg
  • 11
  • 1
1
vote
1 answer

How can I create a REST server with better authentication than basic?

I have created a REST server using Delphi Rio. This server uses basic authentication; it looks like this kind of authentication is the default one on Delphi, but I was wondering how can I use a better authentication method, for example with a token…
lorife
  • 371
  • 1
  • 12
1
vote
1 answer

How can I get just the expiry date of a domain name using Indy in Delphi 10.3.3 Pro?

How can I get just the expiry date of a domain name using Indy's TIdWhois component? I don't want to get the full WHOIS data, but only the expiry date. I used this code: IdWhois1.Host:= edit1.Text; memo1.Lines.Text := IdWhois1.WhoIs…
MrSiMo
  • 101
  • 7
1
vote
1 answer

How can I store a single database for multi device access in Delphi 10.3?

I am new to multi-device development in Delphi and I have a basic VCL background. I have worked with multiple projects that use locally stored databases for their functions etc. Coding is a hobby and I want to learn more about mobile app development…
PJ Bosman
  • 13
  • 2
1
vote
1 answer

Delphi TThreadPool: wait for free thread slot before proceeding with code

I know TTask and have used TTask.WaitForAll(array) successfully, as well as TParallel.&For(). But now I want to do a seemingly simple thing and don't find out how: I have an unknown number of items coming in, this can be millions or only a few, and…
1
vote
1 answer

How to catch any mouseclick in my application

What is the best way in Delphi 10 to get every mouseclick in my (windows-)application? I actually want to implement touch-sounds, but OnGesture only return gestures (surprise), so I want to go for any click. I don't want to capture every VCLs…
Wolfgang Bures
  • 509
  • 4
  • 12
1
vote
0 answers

How to make semi-transparent panel in Delphi VCL

I can easily make semi-transparent panel inside form using Firemonkey's TForm.Transparency and TPanel.Opacity options. But I can't do it in VCL. I want to make something like this: Is there any way to do it in VCL application? No third-party…
Xel Naga
  • 826
  • 11
  • 28
1
vote
1 answer

Adding some common methods to different classes

I have the following structure... Three controls made by me, that inherit from the same common control TCustomControl. TDriveBar [MyShell.pas] > TCustomPanel [Vcl.ExtCtrls.pas] > TCustomControl [Vcl.Controls.pas]... TPathBar [MyShell.pas] >…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
1
vote
1 answer

How to declare inline variables without error messages?

I'm using Delphi 10.3 Community Edition. When I write code with inline variable declarations like var i:=1 to length(aStatement) do the code compiles and runs as expected. No errors whatsoever. However, the IDE displays the code as if there were…
Al C
  • 5,175
  • 6
  • 44
  • 74
1
vote
1 answer

What is the maximum file size for TIniFile?

My program manipulates an ini file using TIniFile. I've read TIniFile class has 64kb limit in single section. However, it seems to be working for more than 100kb in my tests. I'm using Delphi 10.3.3 and Windows 10. Does 64kb limit exist only in old…
Xel Naga
  • 826
  • 11
  • 28
1
vote
0 answers

Delphi - Serialization of objects : ignore inherited properties

I'm trying to learn how to serialize objects with Delphi 10.3.3 Rio using this units : REST.JsonReflect and REST.JSON.Types I wrote this class : TContainer: class(TGraphicControl) private [JSONMarshalledAttribute(False)] // Test to hide a property…
1
vote
0 answers

How to scroll a TVertscrollBox with a TListbox inside

I have some components inside a TVertScroll, inside there is also a tListBox with ListStyle = horizontal. Screen scrolling works up or down correctly when selecting the other components, except when I select the TListbox. Does anyone have any idea…
1
vote
1 answer

FMX [Android] make multiple Labels bold

I've got 5 labels on my form whose Fonts styles should all get the BOLD property added. I tried doing this using the code below but only Label2 gets bold and the rest still stays as it is at design time. Sleep(350); TThread.Synchronize(nil, …
qGold
  • 341
  • 2
  • 14
1
vote
1 answer

delphi fmx android label align to top

I've got 5 labels and at design time I placed 1 to the top, followed by 2 aligned to the top, followed by 3, 4 and 5 aligned to the top. If I compile and run my app on android the labels are in the order 1 5 4 3 2 and I have no clue why this is the…
qGold
  • 341
  • 2
  • 14