Delphi 10.4 Sydney is a specific version of Delphi released in May 2020.
Questions tagged [delphi-10.4-sydney]
363 questions
3
votes
1 answer
Is AtomicCmpExchange() broken?
If you make a new multi-device application project, set Project > Option > Compiling > Optimization : True, and then copy the code below to unit1.pas:
unit Unit1;
interface
uses
System.SysUtils,
FMX.Forms,
FMX.StdCtrls,
System.Classes,
…

zeus
- 12,173
- 9
- 63
- 184
3
votes
1 answer
RAD Server Delphi - using savetostream und loadfromstream does not work because of mutated vowels after Json conversion
I try to exchange Data via RadServer IIS Package and Delphi Client with EMSEndpoint.
What I try looks simple to me but I can't get it done now.
In the Package there is a TFDConnection pointing to a MSSql Server. TFDQuery is connected with that…

fisi-pjm
- 378
- 2
- 16
3
votes
1 answer
How to get the string representation of a ShortCut Key including the SHIFTSTATE?
In a Delphi 10.4.2 Win32 VCL Application, and based on the question + solution here which provides a way to get the string representation of a Shortcut Key (but presumably with no possibility to also pass a SHIFTSTATE for the Shortcut Key) I wrote…

user1580348
- 5,721
- 4
- 43
- 105
3
votes
1 answer
How to avoid exception "DTD is prohibited" with TXMLDocument
I have this XML:
3
votes
1 answer
Add a footer to a TDBGrid
I want to create a TDBGrid descendant with a footer to summarize columns. Can you point me to the steps to create a footer bar and populate it by the columns ?. Maybe there is some open-source grid with footers where I can look its code ?.
Thank…

Marc Guillot
- 6,090
- 1
- 15
- 42
3
votes
1 answer
VCL TSpeedButton doesn't change font size in Delphi 10.4.1
I have just upgraded from Delphi 10.3 to Delphi 10.4.1 and I have tried to upgrade couple of applications. It seems they worked fine except for one thing.
TSpeedButton refuse to change font size and it always shows default size of 8.
To demonstrate…

ivo.tisljar
- 177
- 10
3
votes
1 answer
Why does freeing a member component in a class destructor cause an EInvalidPointer error when the application is closed?
Here is a class I created to add a TLabel to a TTrackBar. The label shows the value of trackbar when dragged and then fades out. An instance is created at runtime and the parent set to the form. It works fine but gives an error when the application…

XylemFlow
- 963
- 5
- 12
3
votes
2 answers
Vcl Styles issue for menu items added during program load
I have a Delphi 10.4.2 program (32-bit) where menu items are added during program load (the Application.OnActivate event, coded to run only once). Without a vcl style the new items are displayed correctly, however when a style is applied (such as…

PhilW
- 457
- 6
- 15
3
votes
0 answers
Drawing text as a path. Problem with Bahnschrift fonts
My application allows users to create text objects on a canvas. This object can be saved to a project file to be loaded later.
In order that the objects look the same after loading on various platforms I have implemented the text object as a path.…

XylemFlow
- 963
- 5
- 12
3
votes
1 answer
How to detect Form Resize END, maybe by using the TApplicationEvents component?
In a Delphi 10.4 VCL Application, I need to detect when the FORM RESIZING ENDS. (E.g. after the user resized the Form by dragging its size-grip).
So I have placed a TApplicationEvents component on the form and created its OnMessage event-handler,…

user1580348
- 5,721
- 4
- 43
- 105
3
votes
1 answer
How to save a TImage containing a TPngImage as Bitmap file?
In Delphi 10.4, I have loaded a PNG image (32BPP with Alpha Channel Transparency) at DESIGN-TIME in the Picture property of a TImage. Here is how it looks at run-time:
Here is a copy of the TImage component (which can be pasted at design-time in…

user1580348
- 5,721
- 4
- 43
- 105
3
votes
1 answer
TEdgeBrowser Navigate fails with error "File not found"
My first attempt to try the new TEdgeBrowser fails with 'The system can't find the file'
procedure TFrmTEdgeBrowser.BtnNavigateClick(Sender: TObject);
var lErrCode: Integer;
begin
if not EdgeBrowser.Navigate('https://www.google.com') then
begin
…

Jan Doggen
- 8,799
- 13
- 70
- 144
3
votes
1 answer
How to update Delphi 10.4 Sydney installation?
I just installed the Windows development environment in Delphi 10.4 Sydney Enterprise from the downloaded ISO (execution of radstudio_10_4_esd_99797b.exe), followed by Update patch 1.
I forgot to check the TeeChart standard component and want to add…

Jan Doggen
- 8,799
- 13
- 70
- 144
2
votes
1 answer
Does Delphi treat .exe files differently based on filename length?
I am currently developing an internal tool using Delphi.
If I call the project and therefore the .exe
RecUtil
It runs fine with no intervention. However if I name the project
RecUpdate
It requires user intervention to allow it to run.
This is a…

Toby Allen
- 10,997
- 11
- 73
- 124
2
votes
2 answers
How to parse multiples lines from StringList
I want to copy specific lines from a StringList,
I want to copy all lines that have 'Domain Status:' into memo.lines.text
I used the code below, but the problem is it copies only the first line, I want to copy all lines that have 'Domain Status:':
…

MrSiMo
- 101
- 7