52,558 questions
-1
votes
0
answers
88
views
In a Delphi 64 bit application, the keyboard stops working [closed]
I have a big Delphi project with some non-modal dialogs holding many input fields.
When generating a 32-bit application, all works fine. Now the project needs to make a switch to 64-bit.
When ...
2
votes
1
answer
112
views
How to notify a (Spring4D) TObjectDataSet when a bound object property has changed
The value shown in an attached grid is updated when using
ObjectDataSet.FieldByName('Description').AsString:='Bob';
But not when calling
ObjectDataSet.GetCurrentModel<TSaleLine>.Description:...
3
votes
0
answers
192
views
How get screenshot of offscreen window?
How to get a continuous screenshot of a window that is not visible on the screen (offscreen)?
I have the following code that initially seemed to work, but this got only the first frame (when the ...
0
votes
1
answer
145
views
TWebBrowser.Silent = TRUE still shows "bad certificate" error
I have a TWebBrowser with the .Silent property set to True, but it's still popping up the message
Revocation information for the security certificate for this site is not available. Do you want to ...
2
votes
0
answers
122
views
Delphi + PAServer: How to correctly export iOS app with Notification Service Extension (appex) – missing provisioningProfiles in exportOptions.plist
I’m deploying an iOS app built with Delphi (FMX) using PAServer. The app includes a Notification Service Extension (.appex).
The build succeeds, but the export step fails with:
error: exportArchive &...
Best practices
0
votes
5
replies
209
views
Generic TForm in hiearchy
I'm building a fmx app in Delphi 12.2.
I would like to create a view hierarchy that includes a 3rd party generic TForm descendent. This 3rd party TForm does not have an fmx file. It does not appear ...
Best practices
1
vote
6
replies
260
views
How to load a Delphi TService driver early?
I am wondering what the best approach is to writing a Delphi service (using the TService class) to load my basic driver that simply writes a message to a file on disk. No network access is needed, or ...
Advice
0
votes
5
replies
155
views
Delphi, hooking TBitmap.Create & stack trace
Posting this because I could not find an answer and code produced by two AIs I queried, would not compile. And when I did get it to compile it crashed at some point.
I needed to hook TBitmap.Create ...
0
votes
1
answer
362
views
THTTPRio Authorization Bearer
I'm using Delphi Tokio 10.2.3 and using a THTTPRIO component to consume a SOAP webservice.
I need/must use Bearer token authentication on the request, because the service was changed from basic ...
3
votes
1
answer
159
views
How to implement a scoped context in Spring4D?
I want to be able to register a scoped singleton which would work like TSingletonPerThreadLifetimeManager does, but is freed when it goes out of scope.
I want to have the ability to treat certain ...
0
votes
1
answer
242
views
Bad DFM streaming of a TForm displayed in CEF4Delphi TChromium.OnDownloadUpdated event
I have a project using CEF4Delphi that uses a custom Open/Save dialog when downloading a file.
This is the event when I create the custom form
procedure TMainForm.ChromiumDownloadUpdated(Sender: ...
Advice
0
votes
8
replies
254
views
Migrating Delphi application to .NET: Framework 4.8 vs .NET 6+ for COM/Hydra interop
We're planning a phased migration of a large Delphi application to C#/.NET. The migration strategy involves:
Running Delphi and C# side-by-side during transition (12-24 months)
Using RemObjects ...
0
votes
1
answer
207
views
Highlight cells in TCalendar
Is there any way to highlight various non-contiguous cells in Delphi's TCalendar component at the same time? And not only the actual day?
I need to let the user mark different days in different cells, ...
Best practices
1
vote
11
replies
351
views
How to convert Delphi *.pas "format ANSI" files to *.pas "format UTF" files? (We are starting to use Cursor IDE on Delphi projects)
We have developed Delphi projects in Lithuanian (Baltic) local Windows machines and our Delphi *.pas files have been in "format ANSI" and they, of course, contained Lithuanian constants as ...
3
votes
2
answers
276
views
How to change the background color of a TButton component with code in Delphi FMX?
I've been tasked to dynamically style buttons to be different colors with Delphi code in FMX
I want a red TButton component. My first thought was to use a TRectangle instead of a TButton, but then my ...
