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 how to use the ZipProgress

An earlier StackOverflow topic provides some sample code for using the progress event while using TZipFile: Using Delphi Toyko creating a Zip file onprocess example I am able to make the example work if I use it as a MainForm. But I am completely…
jrpcguru
  • 3
  • 5
0
votes
1 answer

Get my Firemonkey app (Tokyo R3) to deploy to my test device

I have a test app I've built with FireMonkey (Tokyo 10.2 R3). It builds fine and deploys for Android and seems to build fine for iOS (no errors in the build portion anyway). When it finally tries to deploy to my device (iPhone 6s Plus - 64bit -…
BIBD
  • 15,107
  • 25
  • 85
  • 137
0
votes
1 answer

Datasnap client raises "invalid ordinal" error

I created a Datasnap server (stand-alone tcp/ip using the Wizard) and added the following server method: function TServerMethods1.GetSomeData(tablename : String): TDataSet; var qry: TSQLQuery; begin qry := TSQLQuery.Create(nil); …
Freddie Bell
  • 2,186
  • 24
  • 43
0
votes
0 answers

Generic function with interface constraint

Why does the following code: TYPE TFmxObjHelper = CLASS HELPER FOR TFmxObject FUNCTION GetInterface : T; END; FUNCTION TFmxObjHelper.GetInterface : T; BEGIN IF NOT…
HeartWare
  • 7,464
  • 2
  • 26
  • 30
0
votes
1 answer

Adding a filter expression to a JSONIterator Find function call

What is the correct syntax for a filter expression to query a JSON object with a specific attribute string value inside an array, using bracket notation? I am limited to bracket notation because dot notation won't work in Delphi when there is a…
Sam M
  • 4,136
  • 4
  • 29
  • 42
0
votes
2 answers

Passing a JSON object to Datasnap Server application

I have a datasnap application server and a client witten in Delphi Tokyo 10.2. I need to know whether I do the communication between the two correctly. I will write down the client code here : Client Code: procedure…
A.Joe
  • 51
  • 6
0
votes
1 answer

How set the scale of a TControl?

In XE2, I simply used the Scale property to set a control's x- and y-axis scales. In subsequent versions, apparently, the Scale property has become protected in TControl and is published in descended controls. I have quite a few functions that take…
Domus
  • 1,263
  • 7
  • 23
0
votes
1 answer

How to return more than 50 results from Dynamics 365 using the Web API

Continuing on with my Dynamics 365 from Delphi project, I am now at a point where I need to be retrieving more data from CRM than the 50 entities I can get by default, and that by setting the maxpagesize preference, I should be able to get…
SiBrit
  • 1,460
  • 12
  • 39
0
votes
0 answers

Error with IStream.Seek()

I have a very old piece of code to handle Excel files in Delphi 5, which I adapted to work with Delphi 2005, which I used professionally until 2010. Since then, there was no reasonable free version of Delphi. Therefore, it is only now that using…
0
votes
0 answers

Why call function A_GetUSBBufferLen() from winppla.dll doesn't work on Delphi Tokyo?

I'm trying to work with Argox printer OS-214 Plus in Windows 10. I've connected the printer and Windows 10 recognized it but I haven't installed any driver. I've downloaded Command-Library-V409 and extracted Delphi 2009 example from path ..\Command…
Daniel Grillo
  • 2,368
  • 4
  • 37
  • 62
0
votes
1 answer

How use RingtoneManager.setType() in Delphi

Using Androidapi.JNI.Media with Delphi 10.2 Tokyo. I am trying to list the available ringtones and play a different one from current default. Initialization of JAudioManager and JRingtoneManager seems ok, because I can play the default ringtone. But…
Mark
  • 11
  • 4
0
votes
0 answers

TFDTable edit fails with Firebird 2.5.7 not 2.5.3

This code: FDConnection.Open; // Design time TFDConnection; default settings TabelGrid.Close; // TDFTable connected to TFDConnection; default settings TabelGrid.TableName :=…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
0
votes
1 answer

How to build OSX 64bit application in Tokyo

How do I build applications for 64bit OSX with Delphi Tokyo ? Or is there another Delphi version that can do this ? All I can find is OSX 32bit, where is the option to link for 64bit ? I am using Delphi 10.2 Version 25.0.26309.314
GuidoG
  • 11,359
  • 6
  • 44
  • 79
0
votes
1 answer

VertScrollBox Detect when bottom reached android and IOS

I have GridLayout1 on a VertScrollBox1. The vertical scroll box scrolls through the content of the grid layout. I need to detect when the Vertical scroll box reach the bottom so I get to load more content to the grid layout. And do it again…
Someone
  • 401
  • 3
  • 5
  • 16
0
votes
1 answer

Delphi TThread handle error

I am reading "Delphi High performance" and there is something that I am missing. Given this code as test: type TTest = class(TThread) private amemo: TMemo; public constructor Create(ss: boolean; memo: TMemo); protected procedure…
Raffaele Rossi
  • 2,997
  • 4
  • 31
  • 62