Questions tagged [delphi-10.4-sydney]

Delphi 10.4 Sydney is a specific version of Delphi released in May 2020.

363 questions
2
votes
1 answer

FireDAC ApplyUpdates without clearing the Delta

Is it possible to call Applyupdates on a FireDAC Query on cached updates mode without clearing its Delta ?. The reason to do so is because I have 4 FDQuerys that I want to save together or cancel together if any of them raises on error. I could use…
Marc Guillot
  • 6,090
  • 1
  • 15
  • 42
2
votes
0 answers

Change default browser in Embarcadero RAD Studio 10.4

How can I force Rad Studio 10.4 to use my default browser (Firefox) instead of Microsoft Edge when opening web-based documentation?
ChuckO
  • 2,543
  • 6
  • 34
  • 41
2
votes
1 answer

How to modernize the look of the TJvCaptionPanel buttons?

I use a TJvCaptionPanel in Delphi 10.4 to show a panel with a caption and buttons: (TJvCaptionPanel is part of the OpenSource JEDI Visual Component Library available from GetIt) This is the object code of the JvCaptionPanel1 object instance, so you…
user1580348
  • 5,721
  • 4
  • 43
  • 105
2
votes
2 answers

Custom fonts in Android Delphi 10.4 don't loads in runtime

I'm trying to use a custom font for my Android app, I tried many ways but no luck. the pas file FMX.FontGlyphs.pas does not have to be modified I believe as they updated it in Delphi 10.4 which I'm using now. what I've done so far to test : I've…
Delphier
  • 65
  • 5
2
votes
1 answer

Load base64-encoded data from INI file back to TPicture?

In Delphi 10.4, I have sucessfully saved a valid TPicture base64-encoded to an INI file, using this code: procedure TForm1.SavePictureToIniFile(const APicture: TPicture); //…
user1580348
  • 5,721
  • 4
  • 43
  • 105
2
votes
1 answer

WriteBinaryStream compressed to INI file?

In Delphi 10.4, I try to save a valid TPicture compressed to an INI file, trying to replicate the ZLibCompressDecompress example from the documentation: procedure TForm1.SavePictureToIniFile(const APicture: TPicture); //…
user1580348
  • 5,721
  • 4
  • 43
  • 105
2
votes
1 answer

TIniFile.WriteBinaryStream creates exception

In Delphi 10.4, I try to save a valid TPicture base64-encoded to an INI file: procedure TForm1.SavePictureToIniFile(const APicture: TPicture); var LInput: TMemoryStream; LOutput: TMemoryStream; MyIni: TIniFile; ThisFile: string; begin if…
user1580348
  • 5,721
  • 4
  • 43
  • 105
2
votes
3 answers

F2051 Unit was compiled with a different version (again)

(Warning: long read. This question references a lof of the other questions about F2051) We have a folder named PatchLibs in our source tree in which we put modified files of third party sources. This is in the project search path:…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
2
votes
1 answer

Delphi FMX TListBox slow with large lists

I'm loading 2,000 names into an FMX TListBox and it is taking far too long (like 35 seconds or more). Here is the test code: procedure TDocWindow.DEBUGAddLotsOfStringsToList; var theTimeAtStart: Integer; J: Integer; begin ListBox1.Clear; …
Mike at Bookup
  • 1,211
  • 14
  • 32
2
votes
1 answer

Missing implementation for ToolsAPI interface method when upgrading to Delphi 10.4 Sydney

I have installed Delphi 10.4 Sydney w/ Patch 2 in a new virtual machine, and copied Delphi 10.3 Tokyo sources to it. When rebuilding a visualizer (for DevExpress TcxSchedulerEvents) I get this error: [dcc32 Error] EventVisualizr.pas(19): E2291…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
1
vote
0 answers

Delphi 10.4 Run (Debug Mode) Not Showing Application

I'm trying to run my application in debug mode, but the IDE isn't showing it on the screen. When I try to close the project or the IDE, it gives me this message: And when I choose either terminate or detach, it gives me another message: The…
ramson48
  • 11
  • 4
1
vote
1 answer

Delphi MapiSendMail returns MAPI_E_USER_ABORT

I´m calling MapiSendMail like this: lErrorCode := MapiSendMail(0, GetModuleHandle(nil), lMessage, MAPI_DIALOG or MAPI_LOGON_UI or MAPI_NEW_SESSION, 0); On my dev server (Win 2016) this returns 0 and opens a new message in outlook (standard mapi…
JonasK
  • 149
  • 2
  • 8
1
vote
0 answers

TForm Resource not found

I had to format my computer and reinstall RAD Studio 10.4. I have many projects. All projects have been recompiled and are running, except for one project that is showing strange behavior. Any new form I add to the project, when I create the Form, I…
1
vote
0 answers

How to Edit shellCtrls.pas only create 1 column?

I'm trying to edit ShellCtrls.pas, but I don't have any idea where the part of component is located to create the ListView column. I need only 1 column to show the name of the file/folder in the ListView without other columns for size, detail,…
NettixCode
  • 25
  • 1
  • 4
1
vote
0 answers

Delphi TEdgeBrowser and OnNavigate event POST data

Trying to move from TWebBrowser to TEdgeBrowser. In a particular use case when a website is redirecting I am capturing the redirect and am also capturing the HTTP POST data and the XML contained therein and making use of the PostData variable in the…