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
2 answers

TActionClientItem to TAction

I'm trying creating a TAction in runtime and insert in TActionClientItem, but it's give me an error at runtime (Invalid class typecast). I'm using this way: function TFunctions.AddMenuItem(aciParent: TActionClientItem): integer; var ClientItem:…
0
votes
1 answer

Why does the Document_Open Macro not run in Word when opening the document from Delphi using Office Automation

I am trying to use Office Automation in Delphi Tokyo to open a Word document (using Word 2016). The document has a Document_Open macro that prompts the user to optionally run another macro. When I run the following code:- Doc :=…
Andrew
  • 59
  • 5
0
votes
0 answers

What is the simplest way to get the RTTI properties in ancestral order?

The System.Rtti.TRttiType.GetProperties method returns the results as ordered by the class/interface hierarchy. This means that the most recently included properties are located at the top of the list. What is the simplest way to get the properties…
SiBrit
  • 1,460
  • 12
  • 39
0
votes
0 answers

Delphi - Calculating Amazon MWS signature

Using: Delphi 10.2.3 Tokyo IPWorks SSL and IPWorks Encrypt components I am trying to use the Amazon MWS API from Delphi to get a list of orders, but am unsuccessful in making the request to Amazon MWS. Its mandatory that I use IPWorks components, as…
Steve F
  • 1,527
  • 1
  • 29
  • 55
0
votes
0 answers

Delphi Intraweb ISAPI DLL failed to connect with server using TLS/SSL

I have a Delphi Intraweb application which is hosted on IIS using ISAPI DLL. This application internally connect with a Windows service application through IndyClient. Windows Service acts as an application server and written in Delphi itself. I…
0
votes
0 answers

What is the latest Android SDK update for Delphi 10.2.3 and where do I find it to install?

I am using Delphi 10.2.3 Enterprise version and Android SDK 24.3.3 32 bit is installed. Where can I find the info telling me which latest Android version is still supported by Delphi 10.2.3 Enterprise.Also, where can I find the Android to download…
0
votes
0 answers

Block style change to a form

Using Delphi 10.2.3: I have a splash screen form that's created and displayed in the app's main-form unit's initialization section. The form contains a bitmap background with some labels on it for title, copyright, version, build date and…
SteveS
  • 335
  • 1
  • 13
0
votes
0 answers

How to create a JSON web token by ES265 algorithm?

I use: Delphi JOSE and JWT Library and OpenSSL libraries version 1.0.2 uses ... JSON, System.DateUtils, JOSE.Core.JWT, JOSE.Core.JWS, JOSE.Core.JWK, JOSE.Core.JWA; ... procedure TForm1.Button1Click(Sender: TObject); var LToken:…
HeathRow
  • 117
  • 1
  • 8
0
votes
1 answer

EConvert exception invalid date time when trying to convert json to object using REST.Json

The following code end up in an exception '2019.10.5 14:16:14,1000' is not a valid date and time when trying to parse the json to an object. The problem seems to be the decimal in the date. JSonStr := '{"orderNumber": "395409772020_1",…
Øystein
  • 1,163
  • 1
  • 12
  • 23
0
votes
2 answers

SQLite query results limitation

I am trying to get data from SQLite database table, but i cannot get more than 50 rows. Is there a limitation of 50 rows? My code looks like that: unit Unit1; interface uses FireDAC.Stan.Def, FireDAC.DApt, FireDAC.Phys.SQLite, FireDAC.VCLUI.Wait,…
DeFacto
  • 91
  • 10
0
votes
1 answer

"Server execution failed" and "Duplicates not allowed" messages after upgrade to Delphi 10.2.3

I've just had to update my RAD Studio 10.2.0 Tokyo installation to 10.2.3, so that I could set the TRESTClient.SecureProtocols property to [THTTPSecureProtocol.TLS12] to enforce TLS 1.2 usage for a third-party web API, but I've run into problems…
SiBrit
  • 1,460
  • 12
  • 39
0
votes
0 answers

Getting OleVariant (TClientDataset.Data) from Evaluator

Is it possible to evaluate an OleVariant of type varArray (Data of TClientDataset) using Delphi evaluator? I'm trying to build a Debugger Visualizer, using ToolsApi, for this kind of type. I work in an application that uses this extensively to…
Rodrigo Caetano
  • 379
  • 1
  • 13
0
votes
1 answer

Delphi how to remove deleted properties from dfm in exe

I have many dfms. I am using delete unwanted properties exe from this site Delphi DFM properties remover, to remove deleted properties which are no longer required. Following code works fine except for some properties like if I want to delete…
User421
  • 25
  • 8
0
votes
0 answers

How to make a FMX.ListBox with Variable Column Width in Delphi?

I'm trying to change the width of the hours column only, but I'm not getting it. If I set the ListBoxItem.Width via code it just doesn't work. The Listbox has the ItemWidth property but it changes the width of all items. Can someone help me?
Tallys Ferrante
  • 173
  • 1
  • 13
0
votes
1 answer

Search order for units without specified unit scope names

Many units, both in free and commercial libraries, as well as from Embarcadero itself, do not contain full unit names in uses section such as Winapi.ShellAPI. We tried to compile a program with madexcept, which has ShellAPI in uses, as well as…
Triber
  • 1,525
  • 2
  • 21
  • 38