Questions tagged [delphi-11-alexandria]
311 questions
7
votes
0 answers
FMX: TCanvas.DrawLine issue on Android
Lines with thickness > 1 appear to be drawn differently on Windows and Android. I'm using Delphi 11.0. Create a blank multi-platform application and add the following in the FormPaint event.
procedure TMainForm.FormPaint(Sender: TObject; Canvas:…

XylemFlow
- 963
- 5
- 12
6
votes
1 answer
Delphi 11 Indy GMail SMTP error "Username and Password not accepted"
I'm using Delphi 11 for developing windows application and I'm using SMTP for sending mail and from last week I'm getting the error - "Username and Password not accepted". But, earlier the same code was working fine. Please provide some solution to…

hi hello
- 61
- 2
6
votes
1 answer
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 workaround? The compiler defines for RTLVersion…

skamradt
- 15,366
- 2
- 36
- 53
6
votes
2 answers
Android logcat shows app "interaction:" "BLOCKED"
I'm using Android Studio 2020.3.1 to watch debug messages for my app in the logcat. The app is a blank project made with Delphi 11.
Setting the logcat filter to com.bookup has these two lines appear:
2022-01-16 16:07:41.227 1247-1378/? I/AppsFilter:…

Mike at Bookup
- 1,211
- 14
- 32
5
votes
1 answer
Delphi 11 app in Android Play Store shows warning: Non-SDK API
The "Pre-launch report overview" in "Google Play Console" shows this warning:
Type:
Non-SDK API
API:
Landroid/view/MotionEvent;->()V
Stack trace:
StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation:…

Hans
- 2,220
- 13
- 33
5
votes
2 answers
Delphi 11 Alexandria PaintBox flicker in RDP
I've just upgraded to Delphi 11 Alexandria from Delphi 10.4.2. I use RDP a lot so I noticed flicker when a TPaintBox is invalidated. The weird thing is that it doesn't flicker if the form with the TPaintBox is the first one created. Also it doesn't…

Rogfitz
- 61
- 2
4
votes
1 answer
Are Delphi DFM files always saved with ANSI encoding by design?
We're in the process of standardizing on UTF-8 encoding for all source files, to make it easier for developers using a plethora of tools (notably including IntelliJ IDEA on Windows, Mac and Linux) to handle Git merge conflicts without introducing…

Matthias B
- 404
- 4
- 11
4
votes
1 answer
How to communicate to a TWebModule
I have a webservice constructed as follows
Main unit (a TForm):
private
FWebBrokerBridge: TIdHTTPWebBrokerBridge;
In the create:
FWebBrokerBridge := TIdHTTPWebBrokerBridge.Create(Self); // TIdHTTPWebBrokerBridge = class(TIdCustomHTTPServer),…

Jan Doggen
- 8,799
- 13
- 70
- 144
4
votes
3 answers
Delphi IDE some panels are missing
I'm using Delphi 11 and many time when I click the "Run without debugging" button, my program starts to execute. When I close my program, some Delphi IDE panels are missing. It looks like this:
This is my Delphi IDE version.
Is this a bug or a…

Fajela Tajkiya
- 629
- 2
- 10
3
votes
0 answers
Delphi LSP and Visual Studio Code: add file extensions to list of Delphi-type source files
I have configured Visual Studio Code with DelphiLSP for Delphi code editing, and with "*.pas" files (lowercase extension), all works as expected (including syntax checking, hover help, Find Declaration). However, files with extension "*.PAS"…

R.J. Dunnill
- 2,049
- 3
- 10
- 21
3
votes
0 answers
Delphi 11.3: strange issue with "GDI Scaling" + bsNone BorderStyle on secondary form, wrong screen coordinates with multiple monitor setup
I'm experiencing a weird issue when I set "DPI Awareness" mode in the project options to "GDI Scaling" with a secondary form, where, if I set its BorderStyle to bsNone and change its position while the Main form is on another monitor with different…

hikari
- 3,393
- 1
- 33
- 72
3
votes
0 answers
How to display an icon in a Notification Center message?
Is it possible to display an icon in a notification message? I use this code to show the notification, but it doesn't seem to have any property for an image:
MyNotification := NC.CreateNotification;
try
MyNotification.Name := '';
…

Marus Gradinaru
- 2,824
- 1
- 26
- 55
3
votes
1 answer
Remove / Hide border of TTrackBar
I have a TTrackBar on my form, but would like it to not have the border around it:
ie. only the blue arrow should be visible - the border (and the content, ie the area that the arrow navigates in) should be invisible (could be solved by setting the…

HeartWare
- 7,464
- 2
- 26
- 30
3
votes
2 answers
Filling TComboBox with items from TStringList using Thread
I'm using a ComboBox to display a list of many items (don't worry, the differences between the items allow a quick selection by AutoComplete :-).
This list is created during the creation of the form (OnCreate event), but so that the form does not…

yonni
- 248
- 2
- 11
3
votes
3 answers
Is there a way to turn off Exception Notification in Delphi while unit testing, on a particular project
I am using Delphi 11 with the DUnitx unit testing. I know that I can turn off "Language Exceptions" in Tools/Options. But this turns it off for all projects.
Is there a way to turn them off for "unit testing", or "per project".

Rohit Gupta
- 4,022
- 20
- 31
- 41