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

How to replace a TDBNavigator with a TSpeedButton?

I did: procedure TForm1.SpeedButton1Click(Sender: TObject); begin DataTable.qOrders.Next; end; It works, but the problem is when I click the button to reach the last record, the button is not disabled, like in a TDBNavigator. How did I make the…
user8577912
0
votes
1 answer

dcc32 Error Unit1.pas(284): E2010 Incompatible types: 'TNavigateBtn' and 'TNavigateButton'

I want to replace a TDBNavigator with a button. I did : procedure TForm1.Button1Click(Sender: TObject); begin DBNavigator2.BtnClick(nbNext); end; but I got an error : [dcc32 Error] Unit1.pas(284): E2010 Incompatible types: 'TNavigateBtn' and…
0
votes
1 answer

implementing addDefaultNetworkActiveListener in Delphi

Using the solution mentioned here, I was able to get the status of network. But I also need to implement the event for when the status changes. I know I have to use the addDefaultNetworkActiveListener procedure, but I am having trouble with the…
Sam
  • 2,473
  • 3
  • 18
  • 29
0
votes
0 answers

Not Able to see Mail bodies in Amazon Work Mail

A couple of years ago, I wrote a throw away program that was to be used once and deleted. My client uses it daily, ever since. Its purpose is to pull down "ticket" mail and read an Ack + number from the body. There may be several and all are read…
Meta Mussel
  • 548
  • 1
  • 5
  • 19
0
votes
1 answer

TWebBrowser auto login

I'm using the following code to fill in a username and a password into their respective fields on a website login form. var Doc: IHTMLDocument2; I: Integer; Element: OleVariant; Elements: IHTMLElementCollection; Sub: Variant; begin Doc :=…
t1f
  • 3,021
  • 3
  • 31
  • 61
0
votes
2 answers

Using Delphi's AndroidHelper or JNI to access static Java method in Delphi

Important Files to understand the question: VpnService Java Class VpnService Translated to Delphi My goal is to call the public static Intent prepare(Context context) method from VpnService.java and receive the Intent. I tried several ways to access…
0
votes
2 answers

Dynamic Array of Records fails to expand

I have created a dynamic array of records which is expanded using this actionexecute method: procedure TForm1.AddTeamActionExecute(Sender: TObject); Var c : integer; begin c := length(PrjRecArray); PrjRecArray[c].tmpLoadPrjRec (true, 'Team',…
Ashlar
  • 636
  • 1
  • 10
  • 25
0
votes
0 answers

Using calculated fields in a memtable with a datasnap server

We have a FDquery with calculated fields on a datasnap server. When openeing the Query on a client with a FDMemtable, the calculated fields are empty. Q: How can we send the calculated data through datasnap to the client? function…
r_j
  • 1,348
  • 15
  • 35
0
votes
1 answer

published properties not showing in designer

In previous versions of Delphi, my custom Form showed its published properties. However, I'm running into an issue with Delphi 10.2 Tokyo. Specifically, I'm not seeing a good way to call the appropriate method found in this post. To sum it up, a…
SmeTheWiz
  • 210
  • 1
  • 8
0
votes
1 answer

The required attribute "Include" is missing from element

I'm doing an internship in France and I'm developping a Delphi multi-platform application using FireMonkey in RAD Studio 10.2 Tokyo. My internship tutor installed a Mac mini to test my application on Mac OSX. Every time I build on this platform…
romsteak13
  • 11
  • 4
0
votes
0 answers

Delphi FMX RAD Studio Tokyo 10.2 TDateEdit Access violation on picker select

Since Version Tokyo I get an access violation, if I select a date from a TDateEdit- Picker...while closing the picker, but only in some applications. RAD Studio Berlin was working fine before. The components are created programmatically : tc :=…
Jens.F
  • 41
  • 1
  • 6
0
votes
0 answers

moving components at design time in VCL delphi at end-user designing

Ok so I am currently creating an program which is based on vcl. User will be adding removing resize move labels images memos etc. in vcl how can user move resize increase decrease heights width smoothly in components at end-user designing? Should I…
Abhishek
  • 89
  • 1
  • 5
0
votes
1 answer

"ReportMemoryLeaksOnShutdown" not working in Delphi 10.2 Tokyo?

It seems that setting ReportMemoryLeaksOnShutdown := true does not have any effect in programs created with Delphi 10.2 Tokyo (I tried it with Windows and Linux programs). Even if there are obvious memory leaks, nothing gets reported. Can someone…
Olaf Hess
  • 1,453
  • 11
  • 18
0
votes
1 answer

Delphi 10.2 Tokyo - Casting object provided by interface

I'm trying to convert my aplliction from Delphi XE8 to 10.2 Tokyo. I'm getting strange runtime exeptions with casting objects provided by interfafce acrocss packages ( bpl's). when I try to cast objects with "as" keyword I'm getting this exception…
jackDph
  • 11
0
votes
0 answers

How to post a JSON using Datasnap in Delphi 10.2?

I am trying to use the DataSnap REST server component in Delphi 10.2 Tokyo. I met an issue when I sent the web response, indeed the browser is receiving a string (the JSON that I have sent) but it did not manage to see it as a "correct" JSON. Here…
ALN Frs
  • 1
  • 2