Delphi 10.4 Sydney is a specific version of Delphi released in May 2020.
Questions tagged [delphi-10.4-sydney]
363 questions
0
votes
1 answer
Delphi FMX painting components without Application.ProcessMessages
Delphi 10.4 FMX (although I'm sure this is a general Delphi question)
My dialog window is reading a large file.
AssignFile(theFile, OpenDialog1.FileName);
Reset(theFile);
while not EOF(theFile) and not CancelButtonPressed do
begin
…

Mike at Bookup
- 1,211
- 14
- 32
0
votes
0 answers
Delphi Firemonkey TMemo - drag highlighted text?
Can an FMX TMemo support dragging highlighted text?
Dropping a default TMemo on a 10.4 project does not allow dragging highlighted text. I cannot find a setting that would enable dragging text.

Mike at Bookup
- 1,211
- 14
- 32
0
votes
0 answers
More than one horizontal TSplitter in an FMX window/panel
My FMX app has three vertically stacked resizable panels sharing two horizontal TSplitters.
How can I have a TSplitter resize only the panels directly above and below the splitter?

Mike at Bookup
- 1,211
- 14
- 32
0
votes
1 answer
Custom help in Rad Studio 10.4
Is there a way to add my own custom help to the help menu in RAD Studio 10.4? Under the menu options "Help" | "Third-party help", several of the third party libraries I use have added help for their products. Is there any way I can add my own help…

Vic Fanberg
- 983
- 1
- 7
- 14
-1
votes
0 answers
Indy POP3/IMAP code I used in other programs is not working now
I am redoing code I used in an earlier version of my program. The code pulls email off our company mail server CC Mail.
procedure TFrmMainLog.GetEmail;
var
ErrorMsg : String;
SearchInfo : array[0..0] of TIdIMAP4SearchRec;
UID :…

S bossen
- 87
- 1
- 5
-1
votes
1 answer
Creating a report in Delphi 10.4 Community Edition
I'm learning programming and creating an app to save all orders and offers that was given to customers. App is pretty simple, but i want to have a feature, that will print a report with data from several tables in database (like customer's personal…

Morfeo
- 1
-1
votes
1 answer
Native IDE Call Stack window became always empty on crash
I did something in IDE options, and after some time this window became always empty. Does anybody knows what's the deal?
To test I do something simple like this
app.log('crash test '+inttostr(1 div JvTrayIcon1.IconIndex));
...and it rises, asks me…

djdance
- 3,110
- 27
- 33
-1
votes
1 answer
Retry after exception in delphi
I have a question for you.
I have a piece of code as follows.
try
//some code that fails
except
// code to retry the code that fails
end
Now I want to retry the failing code after the exception. Is it possible to do that in Delphi?
So you have a…
user14918445
-1
votes
1 answer
TPanel.AutoSize does not work with nested panels in a special configuration
In a Delphi 10.4.2 win-32 VCL Application in Windows 10, I use several nested TPanel:
Paste these controls on an empty form:
object Panel1: TPanel
Left = 0
Top = 0
Width = 494
Height = 299
Align = alClient
BevelOuter = bvNone
TabOrder…

user1580348
- 5,721
- 4
- 43
- 105
-1
votes
1 answer
Complex problem when trying to free a StringList with objects crashes my app
In a Delphi 10.4.2 win-32 VCL Application in Windows 10, I use this code to collect the handles and program paths of some windows:
function GetPathFromPID(const PID: Cardinal): string;
var
hProcess: THandle;
Path: array[0..MAX_PATH - 1] of…

user1580348
- 5,721
- 4
- 43
- 105
-1
votes
1 answer
Screen becomes black when repositioning Form to second monitor using Parallels VM
I am working with Delphi 10.4.2 in Windows 10 (virtualized in Parallels) on a dual monitor system. To recreate the problem on a multi-monitor system, create a new Windows VCL Application and place two buttons on the form: btnPrimaryMonitor and…

user1580348
- 5,721
- 4
- 43
- 105
-1
votes
1 answer
Delphi 10.2 - Return names of clicked TButton or TEdit
I have a couple of Buttons and Edits and want to get their names into two procedures but can not figure out how. I have set the respective event into OnClick.
TButton L1_1 and TButton L1_2 with event OnClick = L1_1Click. Both triggers procedure…

Peter F
- 29
- 4
-1
votes
1 answer
About comparison operators on Delphi
In Javascript, if i do the following command :
if (cond1 && cond2) {
}
The parser will stop if cond1 is false, no need to check cond2. This is good for performance.
In the same manner :
if (cond1 || cond2) {
}
If cond1 is true, there is no need to…

delphirules
- 6,443
- 17
- 59
- 108
-2
votes
1 answer
Inherited frames - missing properties
I have a project which consists of numerous different frames. Some of those frames are inherited from each other. Here's the basic setup:
TBaseFrame
TFrame1
TFrame1A
TFrame1B
TFrame2
TFrame2A
...and so on.
Everything was working fine and…

Jerry Dodge
- 26,858
- 31
- 155
- 327
-3
votes
1 answer
Is there a way to make my Delphi code neater,more easy to read ect
I would like to take my mess of 'if' and 'for' loops and make them look professional and neat. Without having to manually tab the nested loops.
Any ideas?

Kyle
- 5
- 4