Questions tagged [delphi-10.2-tokyo]

Delphi 10.2 Tokyo is a specific version of Delphi released in March 2017.

Delphi 10.2 Tokyo supports development of applications covering 32-bit and 64-bit, 32-bit, server 64-bit, 32-bit and 64-bit, and 32-bit. Windows applications may be built using either the framework or the (FMX) framework, whereas the Mac and mobile platforms are built under the Firemonkey framework only.

Always use the tag alongside this tag.

References

558 questions
0
votes
1 answer

Delphi 10.2.3 Clicking OK from Tools > Options gives Script Error

I recently upgraded to Delphi 10.2.3 and I'm getting some very strange behavior. Whenever I save changes I have made to the Environment Options I get a weird "Script Error" message. For example: Click Tools > Options and then click the "OK" button I…
0
votes
0 answers

How to save RegIniFile as IniFile in Delphi?

My Win32 application uses a registry key utilizing TRegIniFile like this: MyData:=TRegIniFile.Create('\Software\MyApp'); The registry key has subkeys and values. How can I export all the data as INI file utilizing TIniFile?
Xel Naga
  • 826
  • 11
  • 28
0
votes
1 answer

Delphi 10.2 Tokyo:Listview Custom Component is not displaying any records when ViewStyle = vsReport

we are migrating Delphi 7 code to Delphi 10.2 tokyo. As part of this we have migrated all the components. List view component is not working as expected. It is not displaying column headings and data when ViewStyle = vsReport and for other…
DelphiLearner
  • 489
  • 6
  • 25
0
votes
1 answer

How to implement a TVirtualInterface that's returns a custom type?

How i implements a TVirtualInterface that's return my own custom type? I have the follow Type: TMyType = record private FValue: TValue; public class operator Implicit(A: string): TMyType; class operator Implicit(A: TMyType):…
Passella
  • 640
  • 1
  • 8
  • 23
0
votes
3 answers

CopyFile - save without overwriting existing file

What am I doing: User clicks a button, a FileUpload component (dialog) fires up and he can browse for and load a file from his PC. When he clicks ok the file gets saved to the disk, in a specific location. Prior to saving I'm renaming (or rather,…
t1f
  • 3,021
  • 3
  • 31
  • 61
0
votes
1 answer

TStringList assign random value from the available values contained in a .ini file

I've got a .ini file that contains 10 words (1 word per line) In my application, I'm assigning the 1st word to something using the following code: value := somefilename.Strings[0] The word assigned is thus the word from the 1st line in the .ini…
t1f
  • 3,021
  • 3
  • 31
  • 61
0
votes
1 answer

How to use the functionality of the new Data.DBXOdbc unit included in Delphi 10.2 Tokyo

I used to work with Delphi 2007 and I was able to connect to many different database mgmt. systems using the Open source dbExpress drivers of Vadim V. Lopushanskiy. Now I work with 10.2 Tokyo. I'm happy that I can connect to Access again after…
Dobedani
  • 508
  • 5
  • 20
0
votes
1 answer

Strange ShellExecute results

Try to get results from mame64.exe like the -listfull or the -createconfig but in the first ShellExecute command i get result in the second i get nothing I use this code begin vDir:= 'C:\Emu\Mame\Mame64.exe'; vDir2:=…
azrael11
  • 417
  • 6
  • 18
0
votes
1 answer

TIdPeerThread.ReturnValue not indy10

I have a very particular problem that I have not been able to find on the Internet. In my company, we have an application developed with Delphi 7 using Indy 9, but it has been decided once and for all to migrate to the Delphi 10.2 Tokyo. This has…
alejobog
  • 21
  • 8
0
votes
1 answer

Connecting to Excel 2016 with ADOConnection

I would like to parse a Excel 2016 (xlsx) file from RAD Studio in Delphi language using TADOConnection. I found a similar topic for Excel 2007 (xls) but it seems that it's different in my case. I'm using the following provider : Microsoft OLE DB…
0
votes
1 answer

TeeChart printing Labels scalling issues after Update to Delphi 10.2 Tokyo

After Update Delphi 2009 to Delphi 10.2 Tokyo when printing Charts the labeling looks like crushed or false scaled. On Screen all looks ok and on print the Chart himself looks also good, only the Labels are not good. For printing we use the TPrinter…
0
votes
1 answer

How to change page orientation in VCL FastReport

I'm using Embarcadero version of FastReport and I need to change the orientation of some subreport pages at runtime (mostly because of pictures). Based on Programmer's manual it should be easy, but I can't figure out how or when it is possible. I…
Triber
  • 1,525
  • 2
  • 21
  • 38
0
votes
0 answers

Map TIntegerField max value

CREATE TABLE t1 ( t1_id INTEGER PRIMARY KEY, TEST VARCHAR(50) ); As we know Sqlite3 have range for INTEGER 0..9223372036854775807 and delphi with native conversion has integer range betwen -2147483648..2147483647 when value greater than…
Dicky Tamara
  • 211
  • 2
  • 14
0
votes
1 answer

Delphi 10.2.2 IDE font size

I would like to change the Font Size used in Delphi 10.2.2 Tokyo because it's too big. I use 125% scaling in Windows 10. I found this: System Registry Keys for IDE Visual Settings | Customizable Values But it doesn't work. I also have Delphi XE8,…
Stepel
  • 224
  • 1
  • 9
0
votes
1 answer

Showing FMX or VCL Form Created with Delphi in Inno Setup through DLL?

I am trying to show a FMX form in Inno Setup using an dll. i created a DLL and added the form to the DLL.dll. here is the code from the dll: library DLL; uses System.SysUtils, System.Classes, Winapi.Windows, Winapi.Messages, System.Variants, …
bear
  • 43
  • 6