Questions tagged [delphi-11-alexandria]

311 questions
2
votes
0 answers

TEdgeBrowser not working under folder path with spaces

I've been stuck with this weird TEdgeBrowser behavior for the past couple of days. I'd appreciate if someone could shed some light here... I created a sample project with just the below info. It works fine and loads index.html into the EdgeBrowser…
jimsweb
  • 1,082
  • 2
  • 17
  • 37
2
votes
2 answers

How to see the projects we trust in Alexandria?

In Alexandria, when I try to compile a project that have build events, I receive this warning How can I see the list of the project that I have already trusted with "Always trust this project"? where this info is stored?
zeus
  • 12,173
  • 9
  • 63
  • 184
2
votes
2 answers

In Delphi Alexandria RTL, is ScanChar() badly written?

In the Delphi Alexandria RTL, they have this function: function ScanChar(const S: string; var Pos: Integer; Ch: Char): Boolean; var C: Char; begin if (Ch = ' ') and ScanBlanks(S, Pos) then Exit(True); Result := False; if Pos <= High(S)…
zeus
  • 12,173
  • 9
  • 63
  • 184
2
votes
1 answer

User Agent Issue with FMX IOS 11.1 Rad Studio

I am trying to change the UserAgent with FMX IOS. I have tried following code in Rad Studio 11.1 but doesn't seem to work? procedure SetUserAgent; var LUserAgentDict: Pointer; begin LUserAgentDict :=…
Rob
  • 31
  • 4
2
votes
3 answers

Component is specific class - does not work in BPL structure

I am upgrading Delphi software from Delphi 6 (2001) to Delphi 11 Alexandria. This software consists of many BPL's, but this code is not working properly. The is command is not returning True, when checking if the component from a BPL is an TIBQuery…
davepaul12
  • 391
  • 4
  • 15
2
votes
2 answers

Delphi 11: Find correct toolsversion for MSBuild programmatically

We're upgrading to Delphi 11.1 from 10.4. We have a few scripts which build and deploy Android projects. They assemble an msbuild command that looked like this: msbuild someproject.dproj /v:q /p:Platform=Android /t:Build;Deploy /p:Config=Release…
TomB
  • 750
  • 4
  • 17
2
votes
0 answers

Compiler error: Cannot capture symbol in procedure using threading

I try to revise some LEGACY CODE that I wrote back in the Delphi 10.1 Berlin. Unfortunately, it does not compile in the current Delphi 11 Alexandria, as it shows this compiler error message: [dcc32 Error] AppDocUtils.pas(1164): Cannot capture…
user1580348
  • 5,721
  • 4
  • 43
  • 105
2
votes
1 answer

Cannot disable Themes under "Manifest"

I have Delphi 11.1 (fresh installed), Windows 10. In "Project Options->Application->Manifest" I disable the Themes (uncheck "Enabled runtime themes") and save/close the dialog. But when I reopen the dialog, the Themes are again enabled. Can anyone…
Gabriel
  • 20,797
  • 27
  • 159
  • 293
2
votes
1 answer

Delphi 11 Alexandria LSP code completion problem

Is there any way to solve the problem when you add a new unit to a project and LSP Code Completion doesn't recognize the new functions/procedures? Sometimes I have to close and reopen the IDE for it to recognize them. I have a project with more than…
Gilmar
  • 35
  • 5
2
votes
1 answer

Include multi-selection option in file-open-dialog

To allow multiselection in a file-open-dialog and to avoid this long expression: OpenDialogSourceFiles.Options := OpenDialogSourceFiles.Options + [Vcl.Dialogs.fdoAllowMultiSelect]; // works I tried to use the shorter Include…
user1580348
  • 5,721
  • 4
  • 43
  • 105
2
votes
1 answer

How to assign Owner to cloned TMenuItem?

When I create a TmenuItem programmatically the usual way, the Owner of the created menu item is passed as a parameter in the Create function, e.g.: var NewMenuItem := TMenuItem.Create(MainMen1); However, when creating a menu item by CLONING it,…
user1580348
  • 5,721
  • 4
  • 43
  • 105
2
votes
3 answers

Delphi 11.1's FireDAC and MySQL: SSL connection error: unknown error number

Ok, I've spent all day on this, and I am stuck, so I'm going to ask for help. I previously installed Delphi 11 Enterprise in a virtual machine, and also installed MySQL 8.0.27 (64-bit). After obtaining some 32-bit MySQL dlls I was able to easily…
Cary Jensen
  • 3,751
  • 3
  • 32
  • 55
2
votes
1 answer

How to convert integer value of ip address to standard IP address

Pls. can you help me how to convert integer value of ip address to standard ip address? A got integer value from tmpWifiServiceNative:= TAndroidHelper.Activity.getSystemService(TJContext.JavaClass.WIFI_SERVICE); tmpWifiManager:=…
KJAN
  • 227
  • 4
  • 15
2
votes
1 answer

Keep virtual keyboard shown going from one edit to another

It seems the default behavior of FMX Android is that on clicking one edit and then another edit the virtual keyboard reopens. After clicking the first edit the virtual keyboard is already shown so is there a way to keep the virtual keyboard open…
5eb
  • 14,798
  • 5
  • 21
  • 65
2
votes
3 answers

TGPUObjectsPool memory leak on shutdown in Delphi 11.1 FMX

Running 11.1, I get this TGPUObjectsPool error on shutting down a simple basic FMX 2D app under Windows 64-bit (Release mode). First time I have seen this error. Just running a blank form with ReportMemoryLeaksOnShutdown := True in project.dpr…
Peter Jones
  • 451
  • 2
  • 12
1 2
3
20 21