Questions tagged [delphi-11-alexandria]
The delphi-11-alexandria tag has no usage guidance.
131
questions
0
votes
0
answers
3
views
Displaying an extended message balloon (with image / button, etc.)
I know there are already posts about it, but I had a hard time finding anything really effective...
I am developing a small application that displays an balloon tip with a custom caption and icon.
I ...
0
votes
0
answers
40
views
Socket ReceiveText is always empty under Windows 11?
I have a thread where I am opening a socket, and executing it, waiting to receive strings from the other side.
It is working fine compiled on Delphi 7 on all Windows version, yet compiled with Delphi ...
0
votes
1
answer
37
views
Using the Shell_NotifyIconGetRect function for TTrayIcon
I have developed a small application, which places an icon in the system tray, and displays a form above it.
When I filled in the TNotifyIconData structure myself and called the Shell_NotifyIcon ...
0
votes
1
answer
85
views
Handling NIN_POPUPOPEN, NIN_POPUPCLOSE message of system tray icon
I want to display a form when the cursor enters the icon, and it disappears shortly after the cursor leaves the icon, similar to the Process Hacker software.
(It displays a form above the system tray ...
1
vote
1
answer
74
views
How to interpret DROP elements from dragging a file attachment off Outlook Online?
When I drag a file attachment from Outlook Online (Web, rendered in Firefox) to my app, I receive the following drop elements:
But how do I get the attachment contents (the raw bytes of the ...
0
votes
0
answers
91
views
How to duplicate an object? [duplicate]
I'm on Delphi 11.
I need to create a new instance of a TIdMessage and TIDSmtp, simply by copying all properties from another TIdMessage and TIDSmtp. What's the best way to do it besides manually ...
0
votes
0
answers
29
views
Transparent Form in Android using Delphi
How can I create an active layer/form with a size of 50% of the screen height that will appear over the phone call buttons (answer and reject buttons). I need it for Android system.
Setting ...
0
votes
0
answers
90
views
I cannot add/change the path to libraries in Delphi 11.1
I cannot add/change the path to libraries in Delphi 11.1
When I click on the button, the window shows for a second and disappears.
I have no way to modify the paths.
Can anyone tell me how to solve ...
0
votes
1
answer
55
views
There is no overloaded version of 'RequestPermissions' that can be called with these arguments giving more then one permisssion
with Delphi 10 i used a procedure to give android app multiple permissions on a onCreate Event:
var
permBatt, permRead, permWrite, permBlue, permAccess, permCoarse: string;
begin
{$IFDEF ANDROID}...
0
votes
1
answer
93
views
How to disable MadExcept on command line?
I'm using Delphi 11 and using MadExcept to make things easier on development.
I have an automated procedure to deploy my apps using DCC32. I only want MadExcept to be enabled in debug / devolopment ...
0
votes
2
answers
203
views
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 ...
0
votes
2
answers
99
views
How to get the clicked column on TDBGrid.DblClick(Sender: TObject)?
When using the OnDblClick event of a TDBGrid, how can i know what column was double clicked ?
This is easy with the OnCellClick as it has a TColumn parameter, but not on OnDblClick.
0
votes
0
answers
78
views
Process run using CreateProcess failed due to "Access denied"
I'm new to Delphi, and have developed a small GUI application that runs innounp (which disassembles Inno setup installers) with selected parameters and captures the output into Memo.
I used this ...
1
vote
1
answer
119
views
NetWkstaGetInfo ACCESS_VIOLATION under WIN64
I'm have code, which works fine during many years under WIN32. But yesterday, after compiling under WIN64 I'm got strange ACCESS_VIOLATION error when trying get wki100_langroup field. Where wrong this ...
1
vote
1
answer
227
views
I can't migrate an Android project from Delphi 10.4 to Delphi 11.1
Please help if you have any idea of the following error when I try to compile my Android project completed in Delphi 10.4 after I install Delphi 11.1:
[PAClient Error] Error: E7688 Unable to execute '...
0
votes
1
answer
57
views
Calling the winAPI function in Delphi
I'm taking my first steps in Delphi, I've created a small program that uses the GetSystemPowerStatus function to get battery status information.
To load the function, I used the Winapi.Windows unit.
...
0
votes
1
answer
104
views
TWebUpdate E2003 Undeclared identifier _WIN32_FIND_DATA
I am trying to install TMS TWebUpdate in Delphi 11.1 using the last version I have, which installs fine in Berlin and Tokyo. Alas, it Alexandria it gives an error
[dcc32 Error] wupdate.pas(2342): ...
2
votes
1
answer
107
views
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....
0
votes
0
answers
120
views
The way prevent unintended dynamic array pointer changed
Using dynamic array and I noticed unintended perform.
My code is below. It's executable as console application.
program Test;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils,
System.Types;
...
1
vote
0
answers
71
views
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 ...
0
votes
0
answers
63
views
Locking orientation at run-time on demand
I currently have the following code:
PROCEDURE LockOrientation(Orientation : TOrientation);
BEGIN
{$IFDEF MOBILE }
VAR ScreenService : IFMXScreenService;
IF TPlatformServices.Current....
2
votes
3
answers
328
views
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 ...
2
votes
0
answers
139
views
What DLLs do I need for Delphi to run WebView2
I'm running WebView2 in my Delphi 11.1 application.
On my dev machine (Win 11), it works normally. It works on test PC1(Win 10), but when I try running it on the other PC (also Win 10) it doesn't load ...
2
votes
1
answer
171
views
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....
5
votes
1
answer
299
views
Is there a compiler define that separates Delphi 11.0 from 11.1?
There are a few corrected issues in the VCL which had previous workarounds. Is there some method to identify that Delphi 11.1 is in fact installed and not 11.0 so the fix can be used rather than the ...
0
votes
0
answers
74
views
How to prevent termination of main app when the service is in foreground?
I'm currently trying to remake our company app that has been outsourced. We do not have access to the source code so its not possible to look at the code. Our outsourced app has a service running in ...
0
votes
0
answers
91
views
How to correctly align 16x16 icons to MenuItems in TPopupMenu?
In a 32-bit VCL Application in Windows 10 in Delphi 11 Alexandria, I use 16x16 pixel icons in a TPopupMenu. Unfortunately, the icons are not correctly aligned vertically to the TMenuItem caption:
...
0
votes
0
answers
154
views
Replacing TWebBrowser with TEdgeBrowser in Delphi 11
TEdgeBrowser replaces TWebBrowser. It is new.
TEdgebrowser is supposed to run Javascript and it does.
I took the same code that I used for TWebBrowser, stripped down to its minimum. With Google Maps ...
0
votes
0
answers
78
views
How to reset the F6 IDE insight toolbar?
Today, F6 IDE insight suddenly stopped working in Delphi 11 Alexandria in Design Mode:
When I enter, e.g., TLabel in the F6 search box, all palette components containing TLabel should be shown in the ...
0
votes
0
answers
19
views
Problem with adding Customized View for a iPhone XR
I'm trying to put a customer device (IPhone XR) to Delphi and to use it.
Adding is not so difficult: https://docwiki.embarcadero.com/RADStudio/Sydney/en/Adding_a_Customized_View_to_the_View_Selector
...
0
votes
1
answer
163
views
Calculating window handle from module file path gets wrong results
In a 32-bit VCL Application in Windows 10 in Delphi 11 Alexandria, I am trying to get the window handle of a running main task from the task's module path:
type
TFindWindowRec = record
...
0
votes
2
answers
69
views
How to detect whether a SPECIFIC Delphi version is currently running?
In a 32-bit VCL application on Windows 10 in Delphi 11 Alexandria, I try to detect whether a specific Delphi version is currently running. So I used the Winapi.TlHelp32.CreateToolhelp32Snapshot ...
1
vote
0
answers
57
views
How to select linux as platform in Firemonkey Style Designer?
In the Firmonkey style designer of Delphi 11 Alexandria, I don't find a way to add a custom style for Linux. After adding a new platform I see only this platforms:
I am using the Enterprise Edition ...
2
votes
0
answers
215
views
Delphi 11 Form Designer Scaling
I just downloaded and installed a Trial of Rad Studio 11 on a Lenovo Yoga 720 with 16GB of RAM running Win 10 Pro. The laptop supports 4K resolution.
Forms designed in the IDE do not display the same ...
1
vote
2
answers
114
views
TCommPortDriver error OnReceiveData Delphi 11
I use TCommPortDriver component in Delphi 7, its very cool for serial communication.
But in Delphi 11 the receivedata is "strange", for example:
Baud Rate 19200, Parity 1, databits 8, hwflow ...
0
votes
2
answers
86
views
Where can I find System.IO to use FileSystemWatcher on Delphi 11?
I need to monitor real time if a new file is created on a folder. System.IO.FileSystemWatcher seems a perfect solution. But on Delphi 11 it is reporting
[dcc32 Fatal Error] F2613 Unit 'System.IO' not ...
1
vote
1
answer
115
views
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 ...
0
votes
0
answers
101
views
How to show the Windows Properties dialog in stay-on-top mode?
In a 32-bit VCL Application, I have a button that shows the Windows Properties dialog of the application when clicked:
procedure TformMain.btnShowPropertiesDialogClick(Sender: TObject);
begin
...
0
votes
0
answers
105
views
TTitleBarPanel overlapping nested Panel when the main Form loses focus
When running a 32-bit VCL Application in Windows 10 in Delphi 11 Alexandria, initially it looks fine (except the Mainmenu is hidden):
But as soon as the window loses focus, the TTitleBarPanel ...
1
vote
1
answer
110
views
How to preset the Value of a TNumberBox at DesignTime to a specific Integer value?
In a 32-bit VCL Application in Windows 10 in Delphi 11 Alexandria, I try to use a TNumberBox control:
object nbRowheight: TNumberBox
Left = 20
Top = 225
Width = 77
Height = 23
Hint = 'Set ...
0
votes
0
answers
117
views
How can I customize the Row Height of a TListView?
In a 32-bit VCL Application in Windows 10 in Delphi 11 Alexandria, I use a TListView where ViewStyle = vsReport.
How can I customize the Row Height of a TListView, BOTH when OwnerDraw is True or False?...
0
votes
1
answer
154
views
How to be notified at the END of Horizontal Scrolling in TListView?
In a VCL Application, I am trying to be notified when I END the horizontal scrolling in a TListView with this interposer class code:
type
TListView = class(Vcl.ComCtrls.TListView)
private
...
0
votes
0
answers
64
views
Delphi 11 FMX TWebBrowser does not see the CA certificate installed on Android
In the synapse I made a simple HTTPS server, I created my own CA and signed a server certificate, everything works on Windows (Chrome, Edge), but the problem is with Android, there is a simple test ...
1
vote
2
answers
146
views
Tab replaced to space automatically in Delphi11
I'm using delphi 11.0(28.0.42600.6491).
Typing some tabs in code editor, and after a short pause, typing any character.
Then, I found tabs are replaced to space automatically.
And it seems to be ...
0
votes
0
answers
46
views
How to get rid of the built-in Paste shortcut in TRichEdit?
In a 32-bit VCL Application in Windows 10 in Delphi 11 Alexandria, I have a TRichEdit control. (Please note that the TRichEdit class in Delphi 11 Alexandria differs from previous Delphi versions).
Now,...
2
votes
1
answer
118
views
Building windows store application in Delphi 11 failing
I'm trying to build an Ad Hoc Windows Store application in Delphi 11 (MSIX), but I'm getting an error when I try to build the MSIX file.
[PAClient Error] Error: E5128 MakeAppx : error: Error info: ...
2
votes
1
answer
107
views
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 ...
0
votes
4
answers
210
views
How to Validate InputQuery user input before the user clicks OK?
In a 32-bit VCL Application in Windows 10 in Delphi 11 Alexandria, I show an INPUT DIALOG to the user:
var aNewFolderName: string := 'New Project Folder';
if Vcl.Dialogs.InputQuery('New Project ...
0
votes
2
answers
111
views
How to get the path information from a Node in TRzShellTree?
In a 32-bit VCL Application in Windows 10 in Delphi 11 Alexandria, I have a TRzShellTree control (by Ray Konopka from the popular Konopka Signature VCL Controls 7.0 available in GetIt).
I iterate ...
0
votes
2
answers
178
views
How to extract the folder path from PItemIDList parameter in TRzShellTree.OnAddItem event handler?
In a 32-bit VCL Application in Windows 10 in Delphi 11 Alexandria, I have a TRzShellTree control (by Ray Konopka from the Konopka Signature VCL Controls 7.0 available in GetIt):
object RzShellTree1: ...