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

How to run a command-line program and send keys while running in Delphi?

I can open a command-line program by using: ShellExecute(Handle, 'open', 'example.exe', nil, nil, SW_SHOWNORMAL) ; The program waits user input (for example the key "q"). How can i send keys to the program while it is running?
Xel Naga
  • 826
  • 11
  • 28
0
votes
1 answer

TPicture from MyBase Xml file

Using Delphi 10.2 I right-click on a TClientDataSet and choose 'Save to MyBase Xml UTF-8 table.' I now have an XML file with this format:
Shunyata Kharg
  • 927
  • 3
  • 14
  • 26
0
votes
0 answers

Delphi Tokyo Version Info migration from dproj

I am migrating a Delphi XE codebase to Delphi 10.2 Tokyo. I cannot get project settings, particularly version info, to migrate correctly. Based on several posts, I tried the following steps: deleting the .dproj file opening the .dpr file…
sse
  • 987
  • 1
  • 11
  • 30
0
votes
1 answer

Images don't get stored in table after resize

I want to resize images stored in a database, but after the resize they don't store (as shown by other program accessing them). This is the code: procedure ScaleImages(ATableName,APicFieldName,ATypeFieldName: String); const cMaxPicDim = 512; …
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
0
votes
0 answers

Translating Java's Class Object to Delphi's Jlang_Class

I am working with android.hardware.camera2.params.StreamConfigurationMap object in a Delphi (10.2 Tokyo) application. I need to call the getOutputSizes function. The Java2OP tool has created the interface that looks like: function…
Sam
  • 2,473
  • 3
  • 18
  • 29
0
votes
1 answer

JObject to Integer and Integer to JObject

Does anyone know how to convert a JObject that was returned from android.hardware.camera2.CameraCharacteristics.get() to an Integer and also how to convert an Integer back to a JObject in Delphi. Thank youSam
Sam
  • 2,473
  • 3
  • 18
  • 29
0
votes
2 answers

Gracefully terminating all the threads

I am using this in one of my solution My requirement is to clear the queue and kill all the threads gracefully when Stop button is clicked. For this I created an ObjectList var List: TObjectList; begin { Create a new List. } …
Bharat
  • 6,828
  • 5
  • 35
  • 56
0
votes
1 answer

Recompile Delphi 64-bit vcl250.bpl

I wish to make a fix to StyleUtils.inc in Delphi Tokyo. My project is linking with runtime packages. My app is 64-bits and so I would like to rebuild the vcl250.bpl in the ..\Redist\win64 directory. I do realize that StyleUtils.inc is listed as not…
DelphiGuy
  • 211
  • 2
  • 11
0
votes
1 answer

How to import data from XML to PDF Form using Delphi ?

I have a PDF File filled with text, arrays, images etc.. but also with textfields. I would like to know if and how is it possible to import a correctly formatted XML File in order to fill these textfields such as Name, Surname, Address... I simply…
VirussInside
  • 187
  • 17
0
votes
1 answer

TFloatAnimation within anonymous thread. Thread wont die and animation wont restart

I've been struggling with this for a day or two and cannot find an answer anywhere. I thought this answer might help but it didn't. In my sample code below I have two Timage Components each containing a "Start Image". When clicking on the "Start…
Craig
  • 68
  • 5
0
votes
0 answers

Indy10 UDPclient unstable transmission

A pc broadcasts every second to other computers on the network. Works fine, except with irregular intervals there is no transmission for 5 seconds. Then it resumes as nothing has happened. I tried to move the exe file to another pc (to rule out…
0
votes
2 answers

One procedure for all checks how?

In my form there are 30 or more TCheckbox with TNumberBox in front of them. Every TCheckbox and TNumberBox are connected like CheckBox1 name is C1 and NumberBox is C1E and Checkbox2 is C2 and NumberBox2 is C2E and so on. If C1 is Checked then C1E…
Jo3
  • 3
  • 2
0
votes
2 answers

iOS - Distribution certificates Error

I am trying to deploy to iOS but getting the following error: [PAClient Error] Error: E0776 "Error Domain=IDECodesignResolverErrorDomain Code=1 \"No certificate for team 'Company Name' matching '3rd Party Mac Developer Installer' found\" …
Anthony
  • 73
  • 10
0
votes
0 answers

How to add an event to multiple Google Calendars with Delphi and TMS Components?

I'm using the Google Calendar API to add a specific calendar and then add an event in it. I'm able to do it only for one calendar. (my personnal calendar, logged with the API function : DoAuth() I have 2 questions : How can I add the same event in…
VirussInside
  • 187
  • 17
0
votes
0 answers

Delphi Tokyo webbrowser how to get access to all column and rows in html document

I want to get information from webpage to do it I need to list all columns and rows inside html document I can get access to html elements by ID but how to get access to all rows and columns inside html code to get html code for each…