Questions tagged [delphi-10.1-berlin]

Delphi 10.1 Berlin is a specific version of Delphi released in April 2016.

Delphi 10.1 Berlin supports development of applications covering Windows 32-bit and 64-bit, 32-bit, 32-bit and 64-bit, and 32-bit. Windows applications may be built using either the framework or the (FMX) framework, whereas the rest of the supported platforms are built under the Firemonkey framework only.

Always use the tag alongside this tag.

580 questions
-2
votes
1 answer

Is it posible to get a SQLite Table recordcount prior to opening a query or table?

I am using Delphi 10.1 with FireDac and am using an SQLite Database. I am opening a Query from a timer.Event after the form shows because it takes a bit to load the Query with all records on startup and I want to let the user see something is…
-2
votes
1 answer

How to Sort Sections on TMemIniFile

I am using TMemIniFile to store configuration and I need to sort the sections in alpha order. For that I have created a descendant of TMemIniFile TRWStudioMemIniFile = class(TMemIniFile) public procedure UpdateFile; override; procedure…
Eduardo Elias
  • 1,742
  • 1
  • 22
  • 49
-3
votes
1 answer

How to avoid virtual home button to be drawn on the top of my FireMonkey application?

How to avoid the virtual semi-transparent home button drawn on top over my application when the Android device has no physical home button? I'm developing an Android application in Delphi 10.1 Berlin version. This is what i have : And this is what…
zeus
  • 12,173
  • 9
  • 63
  • 184
-3
votes
2 answers

Loading Bitmap Failed on Berlin

I have a problem migrating a process from XE8 to Berlin 10.1. On XE8, it works fine. On Berlin, I get a "Loading Bitmap Failed" error. I have a DataSnap REST server with this method: function TSM.Downloafile(): TStream; var s: TFileStream; begin …
Dison
  • 103
  • 1
  • 1
  • 12
-3
votes
1 answer

Its safe clearing component?

I use this code for emptying fill in the form : var i: integer; for i:=0 to componentcounts-1 do begin if component[i] is TEdit then (component[i] as Tedit).text:=''; .....another component also include end; but i prefer use…
Hasbi
  • 11
  • 3
-3
votes
2 answers

Compile Error : [dcc32 Error] E2064 Left side cannot be assigned to

I an new to Delphi and tried to compile Inno Setup's Setup.e32 file using Inno Setup's Source Code with Delphi 10.1 Berlin. But the problem is when I try to compile, I keeps getting Error [dcc32 Error] uPSUtils.pas(944): E2064 Left side cannot be…
GTAVLover
  • 1,407
  • 3
  • 22
  • 41
-4
votes
1 answer

Does Copy TBytes create a TRUE copy?

function TFormMain.GetMyTBytes(const AFileName: string): TBytes; begin with TFileStream.Create(AFileName, fmOpenRead or fmShareDenyNone) do try SetLength(Result, Size); ReadBuffer(PByte(Result)^, Size); finally Free; end; end; …
user1580348
  • 5,721
  • 4
  • 43
  • 105
-5
votes
1 answer

How to avoid repeating execution of TAction.Shortcut?

In Delphi 10.1.2, inside a TActionList I have created a TAction with these properties and assigned a shortcut Ctrl+F12 to it: At runtime, when I keep the shortcut keys Ctrl+F12 pressed, the action is executed repeatedly (with speed depending on the…
user1580348
  • 5,721
  • 4
  • 43
  • 105
-5
votes
3 answers

How to check if Anonymous thread is running

i want to check if Anonymous thread is running,i have an idea which is to monitor the thread status every 1s, if it Exists, restart the work again.. I've got the thread ID, now how to check the status ? procedure TForm2.Button5Click(Sender:…
unknown
  • 65
  • 1
  • 2
  • 9
-6
votes
1 answer

How to get FileName and Directory of Windows Control Panels?

In Delphi, create a VCL Forms Application. Use the 64-bit Windows platform if you are on a 64-bit Windows. Use the following code: unit Unit1; interface uses CodeSiteLogging, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,…
user1580348
  • 5,721
  • 4
  • 43
  • 105
1 2 3
38
39