Questions tagged [delphi-11-alexandria]
311 questions
0
votes
1 answer
App is not getting started after migrating from Delphi 10.3.1 to Delphi 11
I have developed android application using Delphi 10.3.1 and after migrating to Delphi 11, the Android application is not getting started. Android app is getting crashed. I tried to run in Debug mode and getting the error - Thread process…

Work 2 Enjoy - Enjoy 2 Work
- 351
- 7
- 26
0
votes
0 answers
Implementing ImageIndex property editor in my FMX component
I am designing a FireMonkey Component with TImageList and TImageIndex published properties. I can easily select a TImageList from the dropdown of the ImageList property, and the ImageIndex property seems to know that it should pick an image (it…

HeartWare
- 7,464
- 2
- 26
- 30
0
votes
1 answer
TEdgeBrowser.CapturePreview To Stream
I'm using Delphi 11 and I'm trying to get the EdgeBrowser.CapturePreview to save to
stream and use later.
In the first example, the file saves correctly. From what I can see the .CapturePreview will save to a file or a stream. But, CapturePreview…

L. Piotrowski
- 1,533
- 1
- 20
- 35
0
votes
1 answer
Delphi 11 - TTreeView - How set Checkbox value for items in a node
I would like to set all Checkboxes in a TTreeNode.
Is there a simpler way to do this, or is there a "Best Practices" way to do it?
For example, TreeNode.SetAllCheckboxes:=true;
In my example below, I can set all checkboxes to true.
procedure…

L. Piotrowski
- 1,533
- 1
- 20
- 35
0
votes
1 answer
Delphi MacOS request permission to use microphone
Delphi 11 project on MacOS is asking permission using this code:
procedure TCOWMainForm.Button1Click(Sender: TObject);
var
fMic: FMX.Media.TAudioCaptureDevice;
begin
fMic := TAVCaptureDeviceManager.Current.DefaultAudioCaptureDevice;
if (fMic…

Mike at Bookup
- 1,211
- 14
- 32
0
votes
1 answer
How to make transparent memos with VCL Themes?
I'm playing around with VCL Themes in Delphi 11. It's working great with already existent apps but the memos are not styled, they remain white as the image below shows.
What should i do to make the memo transparent ? Tried to set color to clNone and…

delphirules
- 6,443
- 17
- 59
- 108
0
votes
1 answer
VS_VERSION_INFO not showing in Windows Explorer after switching to Windows SDK Resource Compiler
I use a RC (resource) file to get version information linked into the EXE file, and recently I switched from Borland Resource Compiler to Windows SDK Resource Compiler, in order to be able to use multiple sizes icons in my application.
The icon…

delphirules
- 6,443
- 17
- 59
- 108
0
votes
1 answer
How to detect the row of a ControlList at mouse position
I want change the hint of the ControlList, detecting which row the mouse is over, so for example the hint could say 'Row 6'
I know that I can do this with TStringList as shown in the following example.
TStringList Example:
procedure…

L. Piotrowski
- 1,533
- 1
- 20
- 35
0
votes
0 answers
Delphi 11 Code completion (ctrl + space) brings up list of templates rather than normal code completion window
As the title suggests, when I try to use code completion manually via ctrl+space I get this:
Rather than this:
Thanks for your help!
edit: More info. This is seemingly only in a particular project. I replicate this issue with say a string s and…

user2814916
- 63
- 7
0
votes
1 answer
Changing UserDataFolder in TWebBrowser with Edge engine
When using TEdgeBrowser directly it is possible to set custom UserDataFolder property value. Is there a way to set it when using TWebBrowser with Edge engine?
Edit: found workaround: set WEBVIEW2_USER_DATA_FOLDER environment variable before creating…

EugeneK
- 2,164
- 1
- 16
- 21
0
votes
1 answer
Delphi - ControlListButton.OnClick - How to determine AIndex from ControlList
Delphi - ControlListButton.OnClick - How to determine AIndex from ControlList
Hello I am developing a calendar form and I am trying to find the Index of a ControlListButton that is within a ControlList. In the BeforeDrawItem the Label.Caption is set…

L. Piotrowski
- 1,533
- 1
- 20
- 35
0
votes
2 answers
How to get the MenuItem name when right-clicking any menu item?
In a 32-bit Delphi 11 VCL Application on Windows 10, when RIGHT-CLICKING any menu item, I need to get the name of the clicked MenuItem.
I use a TApplicationEvents component and this code to get notified when I click on any menu item:
procedure…

user1580348
- 5,721
- 4
- 43
- 105
0
votes
0 answers
How to fix this error [FireDAC][Phys][ODBC][Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid object name 'FDQA_TransTable'
I am trying to run this sample project by Embarcadero on Delphi 11 Enterprise with no changes to the source code:
Embarcadero\Studio\21.0\Samples\Object Pascal\Database\FireDAC\Samples\Comp Layer\TFDBatchMove\Main
and after logging into the…

deggen
- 60
- 10
0
votes
2 answers
Getit Package Manager - Internal check error
I use RAD Studio 11, but I can not install any package with the Getit Package Manager. I always get this error
Internal check error
Can anyone help me?

poeta
- 1
- 1
0
votes
1 answer
app window detect whether it is in the background in FMX Delphi Windows and Macintosh
My Delphi 11 FMX project has multiple document windows.
How can I detect in code whether or not the window is in the background? (Windows and Macintosh)

Mike at Bookup
- 1,211
- 14
- 32