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
-2
votes
1 answer

How do I send notifications?

I developed my vcl app using delphi 10.2 Tokyo and works fine. I want to Implement a scenario whereby it can send notifications in the system notification center or action center whenever there's an action that has taken place. For example if the…
-2
votes
1 answer

Alignment in Delphi 10.2 for Android

I understand how alignment works for Delphi for Windows, but with Android when I set the alignment of a control to Top, not only does the control's width become zero (or close to it), but I am not allowed to make the control wider. I want to put…
jon bondy
  • 411
  • 3
  • 11
-2
votes
1 answer

How to translate C# events to Delphi

I am porting some kind of code from Visual Studio to Delphi 10. Wondering how we should translate the following construct: public event PreviewReadyDelegate PreviewReady { add { Scheduler.AddOrRemoveEvent(() => { _previewReady +=…
Marco Carboni
  • 283
  • 1
  • 12
-2
votes
1 answer

Incompatible types for different pointer types

I am using quick report 6 in Delphi 10.2. When I add quickreport source path to library paths I am getting Incompatible type errors on qrpdffilt.pas. Var P: ^ pos2table; Buff: array of ansichar; d: dword; RGBCol:TRGBColor; PColor:…
User421
  • 25
  • 8
-2
votes
1 answer

Delphi firemonkey - Component that holds a reference to another object - creating an object instance

I'm trying to have a TEditDescendant that contains a reference to another object (MyString), so that when I edit the TEdit text, MyString gets updated and vice-versa. This works when MyString is already existing. However, if I need MyEdit to be able…
-2
votes
2 answers

How can I convert JSON into a list using REST.Json in Delphi?

I have a JSON file like this: [{"id":1,"name":"JOHN"}, {"id":2,"name":"PETER"}] I want to store this list into a ClientDataSet, or something like that. How can I do this in Delphi 10.2 Tokyo using the REST.Json unit?
-2
votes
1 answer

Using Indy TIdHTTP Post Method on Secure Site with Cookies

I am trying to use the TIdHTTP.Post() method to submit a form on a website that I just can't figure out. I have tried several iterations and changes to my code, and have hit a road block that I need to get help with. I am relatively new to TIdHTTP…
Sercho
  • 305
  • 2
  • 9
-3
votes
1 answer

ShowMessage works but application.messagebox dont

ShowMessage('MAC - (Client: ' + DM.qTmp.FieldByName('CL_NR').AsString + ' , Place: ' + DM.qTmp.FieldByName('CL_DESC').AsString); This code works fine, but how i can do that with Application.MessageBox('MAC - (Client: ' +…
ThGz
  • 11
  • 6
-3
votes
1 answer

Spaceing in TMemo not matching text file

I have a text file with this: _____ _ ___ _ _ |_ _| |_ ___ / __|_ _(_)__| | | | | ' \/ -_) | (_ | '_| / _` | |_| |_||_\___| \___|_| |_\__,_| When I load the file into a TMemo, it looks like this: How can I fix…
Glen M
  • 3
  • 4
-3
votes
2 answers

Issue with ZipForge and Delphi Rio 10.3

I'm try to install ZipForge component for Delphi 10.2 Tokyo (ComponentAce doesn't have official version for this component for Delphi Rio 10.3) into Delphi 10.3 Rio for tests, but until this moment, unsucessful. I did the installation by many ways :…
-3
votes
2 answers

Delphi 10.2: 32bit: Form does not handle SHELLHOOK messages, why not?

Problem solved, refer to my answer, however cannot accept it right now because stack overflow's 2 day rule. Thanks for the input everbody! edit: The answer is removed, the answer is to remove line: function registerWindowMessage( lpString : PChar )…
Codebeat
  • 6,501
  • 6
  • 57
  • 99
-3
votes
2 answers

What are the "framework binaries" in Delphi?

IMPORTANT UPDATE: The question is about the framework binaries, which the dialog below mentions, and not about the dialog at all. When I create an empty service application in Delphi, it warns me that linkage to framework binaries will have to be…
Serhii Kheilyk
  • 933
  • 1
  • 8
  • 24
-3
votes
1 answer

Finding and copy a text next to a string

i want to search a text written just next to a string or text in ini and copy it or directly read from TINI into TEdit. i.e. [Section] Indent=AA1:BB2ac:CC35sda:DDWord` i want to show the text written next to CC,which is 35sda, in TEdit. I Tried…
bear
  • 43
  • 6
-3
votes
1 answer

Delphi release interface pointer

I'm struggling with interfaces in Delphi. This question might be trivial, but I am new to Delphi, so please excuse. I have a TreeView with customized nodes, which hold an interface to an object (essentially, just like it is proposed here: Storing…
zink
  • 1
  • 2
-4
votes
2 answers

Delphi - open next file from a list once procedure finishes on the first

I have a total of 3214 .doc. I need to open the first file, copy its contents, paste it in a RichEdit, extract some text, insert it into a database then move on to the next file and repeat the procedure. So far I've managed to: Open the 1st…
t1f
  • 3,021
  • 3
  • 31
  • 61
1 2 3
37
38