delphi-10.2-tokyo Questions
9
Solved
I have set up the PAserver that was located at: C:\Program Files (x86)\Embarcadero\Studio\19.0\PAServer\LinuxPAServer19.0.tar.gz
on my Ubuntu Gnome 16.10 vm.
Please note that I have never used the...
Lexie asked 25/3, 2017 at 23:37
3
In my efforts to properly handle DPI changes in my application, I am using the following code to read the current scaling factor:
TYPE TZoom = BYTE;
FUNCTION OldStyleGetDpiForSystem : TZoom; cdec...
Nitty asked 22/2, 2018 at 9:14
1
Solved
I built a wrapper around the TWebBrowser in Delphi. The wrapper aims at implementing multiple web browsers (edge chromium, chrome etc) into a single wrapper that auto detects which browser to use.
...
Shinleaf asked 19/8, 2020 at 19:7
1
For years, we've been using Indy 10 to send emails (text, not HTML) with one or more PDF attached to it and we never had any problem.
Recently (maybe since Tokyo release 3 ?), our customers notice...
Welkin asked 18/9, 2018 at 14:41
1
Solved
Is there a way to customize the Welcom Page? In particular I'd like to hide the Upcoming Events panel.
Here are a fiew questions about hiding the Welcome Page altogether, and I'd prefer to just rem...
Mukluk asked 8/5, 2019 at 7:13
2
Solved
MCVE:
The following code does not compile with error when switching the parameter type from const to var or out in the overloaded method Train of the class TAnimalTrainer
but it compiles if non i...
Fugazy asked 22/3, 2019 at 22:13
1
I'm using delphi 10.2 tokyo with dbmemo control and I would like to know if is even possible show the emojis in color just like in any html webpage like this:
🤔 🤨 😐 😑 😶 🙄 😏 😣 😥 😮 🤐 😯 ...
Phlogistic asked 1/3, 2019 at 15:17
1
I have multiple project groups that I want to compile at batch. There are over 100 projects in there.
In 2010 we had a "make" file like this:
call "c:\Borland\RAD Studio\19.0\bin\rsvars.bat"
"c:...
Duodecillion asked 13/7, 2018 at 13:33
3
Solved
Event form 1:
procedure TForm1.Panel1DblClick(Sender: TObject);
begin
TForm2.Create(Self).ShowModal;
end;
Event form 2:
procedure TForm2.DBGrid1CellClick(Column: TColumn);
begin
ShowMessage('...
Uela asked 28/1, 2019 at 11:43
1
Solved
My Delphi 10.2.3 app was submitted to Google Play with the fix from this answer: Delphi Android app API level 26?
Google Play reported that this build supports over 400 devices.
The same project ...
Nephoscope asked 22/12, 2018 at 15:38
1
I am using Embarcadero's Rad Studio Delphi (10.2.3) and have encountered a memory issue while reading in very large text files (7 million lines+, every line is different, lines can be 1 to ~200 cha...
Exist asked 17/10, 2018 at 14:4
1
Solved
I have the following variable declarations:
arrChar_1: array[0..2] of Char;
arrChar_2: array[0..2] of Char;
str: string;
Then I made the assignment:
str := arrChar_1 + arrChar_2;
This assignm...
Shiloh asked 17/10, 2018 at 1:56
1
Solved
I have this code (that runs under iOS with Delphi Tokyo):
procedure TMainForm.Button1Click(Sender: TObject);
var aData: NSData;
begin
try
try
aData := nil;
finally
// this line triggers an ...
Amphitrite asked 4/10, 2018 at 16:56
2
Solved
Please create a new FMX application, add a button and a memo to run this example. I have this code:
procedure TForm1.Button1Click(Sender: TObject);
begin
TTask.Run(procedure
var
client: TIdHTTP...
Sagamore asked 24/9, 2018 at 16:1
1
I get the "Property Images does not exist" for an old project that I opened today with Delphi Tokyo 10.2 Trial.
How to (re)produce it:
Select multiple controls on a form (at design time). At least...
Circumnutate asked 19/3, 2018 at 8:33
3
Solved
Update: as noted by some, this is a problem brought about by NOD32. An issue item for this in their system is:
https://forum.eset.com/topic/16237-probleme-debug-delphi-with-eset-11249/
Delphi 1...
Firedrake asked 31/7, 2018 at 23:36
2
Solved
From a certain point I got tired of writing set conditions (and, or), because for more conditions or longer variable names it begins to be clumsy and annoying to write all over again. So I started ...
Orianna asked 19/9, 2018 at 13:24
2
Solved
I got my app into Google Play's app store but I also got this warning:
Your app currently targets API level 14 and must target at least API
level 26 to ensure it is built on the latest APIs opt...
Rakeoff asked 21/6, 2018 at 1:15
1
Solved
I have read this article by Paweł Głowacki and I have been able to display an icon for my component. The result is the following:
I can see the image in the Tool Palette and in the structure vie...
Buckley asked 24/8, 2018 at 19:9
2
Solved
In Delphi 2007 I can easily get the version information of the current project using the following ToolsAPI calls:
procedure Test;
var
ProjectOptions: IOTAProjectOptions;
Project: IOTAProject;
...
Wolfish asked 4/7, 2018 at 19:49
0
I'm using RAD Studio 10.2.3 Tokyo.
Research
Related to this question, and this issue I run into trouble when debugging my flagship application that extensively utilizes runtime BPLs as a plugin ...
Eusebiaeusebio asked 29/6, 2018 at 9:4
1
I'm rewriting a VCL component showing a customized TCustomListbox to Firemonkey in Delphi 10.2. The customization used an overridden DrawItem, basically adding some indentation and setting the text...
Beachcomber asked 1/5, 2018 at 14:31
1
For a piece of code that needs the type "family" of a generic type, I try to use the TypeInfo to retrieve the required information.
class function GetTypeKind<T>:TTypeKind;
For most types ...
Stinkstone asked 20/4, 2018 at 22:33
1
I was looking for a skip and take selection in the TFDQuery.
The properties I found are .FetchOptions.RecsSkip and .FetchOptions.RecsMax. I use Tokyo 10.2.3 and database Firebird 3
I make the quer...
Ong asked 19/4, 2018 at 12:35
2
Solved
I don't understand why this very simple code failed? I'm on Delphi Tokyo release 2.
{$APPTYPE CONSOLE}
uses
System.SysUtils,
System.Generics.Collections;
procedure Main;
var
aQueue: TQueue<...
Agonizing asked 19/4, 2018 at 13:40
1 Next >
© 2022 - 2024 — McMap. All rights reserved.