Questions tagged [delphi-11-alexandria]
311 questions
2
votes
1 answer
THTTPClient Get to a TLS 1.3 only site results in an error
This code:
uses
System.Net.HttpClient;
procedure TForm2.Button1Click(Sender: TObject);
var
LHTTP: THTTPClient;
LResponse: IHTTPResponse;
begin
LHTTP := THTTPClient.Create;
try
LHTTP.SecureProtocols := [THTTPSecureProtocol.TLS13];
…

Dave Nottage
- 3,411
- 1
- 20
- 57
2
votes
1 answer
How to stop Delphi 11 "Close All" closing the IDE welcome screen
This an annoyance in the latest Delphi 11 Alexandria release with all updates installed.
Different behaviour to all previous versions....
Hitting "File/Close all" to clear the project from the IDE removes the welcome page.
Have to select…

Andy k
- 1,056
- 1
- 11
- 22
2
votes
1 answer
How to select the right-clicked TreeView node in PopupMenu.OnPopup event-handler?
In a 32-bit VCL Application in Windows 10 in Delphi 11 Alexandria, I have a TreeView (TTreeView descendant), where MultiSelect = False and PopupMenu = PopupMenu1, so when I right-click a node in the TreeView, then PopupMenu1 is invoked.
In the…

user1580348
- 5,721
- 4
- 43
- 105
2
votes
1 answer
How to set default form font in Delphi Alexandria
Just installed Delphi 11 (Alexandria) and starting to convert our project to it (from 10.4, we try to keep up-to-date). I was surprised to see that our pixel-perfect (and quite crowded) data entry forms with dozens of TDBEdits were out of…

gyulak
- 21
- 2
2
votes
2 answers
Unknown Protocol error with Indy SSL on Delphi 11
When using the Indy TCP Server with the IO handler we get the following error.
routines:SSL23_GET_CLIENT_HELLO:unknown protocol
This error looks similar to the SSL Libary issue 10.3.3 however those fixes are in place for Delphi 11.
Updating Indy…

Reallyethical
- 1,825
- 2
- 16
- 26
2
votes
0 answers
Start remote non-delphi service from delphi application
I have an application which is exposing a background service which I wish to start and comunicate with. Anyway TRemoteServiceConnection does not have a method to start such service.
How to start remote service which is part of another application…

Yordan Yanakiev
- 2,546
- 3
- 39
- 88
2
votes
2 answers
How to change a .dfm property with compiler directives?
Is it possible to make a compiler directive for the .dfm properties introduced on Delphi 11 like
{$IFDEF CompilerVersion > 34.0}
PixelsPerInch = 96
{$ENDIF}
So other developers that use 10.4.2 or lower are able to use the same unit without…

Mobius one
- 171
- 3
- 12
2
votes
0 answers
How can I post updates for deleted records using TEMSDataSetResource in RAD Server 11
I have created a simple new Rad Server Package with resource with a data module to access a Firebird 3.05 database running on Ubuntu 18.0.4. I included sample endpoints and a database endpoint with one table from the database.
I modified the created…

Randy Sekura
- 21
- 2
2
votes
1 answer
Delphi 11 Alexandria Ribbons Classic Controls support
With Delphi 10 Seattle the Ribbons Classic Controls were included in the regular shipment.
Starting with Delphi 10.4 Sydney the Ribbons Classic Controls have to be installed via GetIt-Package-Manager. So far so good.
Now, with Delphi 11 Alexandria I…

complete_stranger
- 753
- 4
- 18
1
vote
1 answer
How to search from the position where the cursor is at the moment?
I'm using Delphi 11. I don't know what i changed on the IDE, but now everytime i use the search feature (CTRL+F), it will search starting from the first line of current unit.
For instance, if i'm on line 1000, i want to search from this line on, not…

delphirules
- 6,443
- 17
- 59
- 108
1
vote
1 answer
How can I switch to Rich Edit 4.1 (or higher) in Delphi 11.1.5
I have character encoding problems with the base TRichEdit component in Delphi 11.1.5. It does not handle in its output RTF the situation if I switch the keyboard language and type hun/en special characters (ő/ű/²). It just stores one codepage at…

SOLID Developper
- 672
- 4
- 12
1
vote
1 answer
Getting spaces after upgrading from Indy 9 on Delphi 6 to Indy 10 on Delphi 11
I have migrated from Delphi 6 to Delphi 11 (64 bit edition) and in that I'm using the Indy and ZLib components. I have migrated from Indy 9 to Indy 10, using the component to post API and before that I'm writing the String to a Stream via:
var
…

sn_na_v
- 31
- 5
1
vote
0 answers
Powerpoint presentation INSIDE of the delphi application - answered in chat
I want to make a powerpoint viewer inside of delphi as a feature for one of my projects. All I want is to be able to display the powerpoint inside of the app and cycle through the slides
Example of what I want:
I have tried a variety of methods…

MGJC
- 11
- 3
1
vote
0 answers
Error requesting SOAP-Webservice with client certificate in Delphi
I'm porting an application from Delphi 2010 to Delphi 11 and there is a call to a SOAP-Webservice.
I used the IDE WSDL Import Tool to generate the soap delphi units (for both Delphi versions with the respective tool).
In Delphi 2010 I used a .p12…

HopFlash
- 106
- 1
- 8
1
vote
1 answer
Can I cast an Object as an Interface?
I would like to cast a generic object as an interface, but I get an "Operator not applicable to this operand type" (this code is part of a custom component where I attach different Entity classes to be opened by them).
procedure…

Marc Guillot
- 6,090
- 1
- 15
- 42