Questions tagged as 'delphi'

1
answer

TClientDataSet Temporary Table

Good evening. My question is this: I have a temporary table created in TClientDataSet . However, I need to write the temporary table data to an XML file and then re-read the TClientDataSet , that is, delete the records and re-i...
asked by 10.11.2015 / 01:45
1
answer

System documentation on conversion [closed]

I'm in the process of converting a system in Delphi to C # using the SCRUM methodology, so far there is no documentation of this system. So I would like to know what they indicate, I do not need very technical documentation like diagrams and...
asked by 15.04.2016 / 13:26
1
answer

Lazarus accents in JSON

I'm having a problem with accentuation in Lazarus, when I get a JSON coming from a URL it returns characters as "" instead of "", does anyone know what I can do? Follow the code procedure TForm1.Button1Click(Sender: TObject); Var S : String;...
asked by 17.12.2015 / 19:12
1
answer

Data type via socket

Is there any way / trick / algorithm to let me know what kind of data is coming via socket? I can send both text and files via socket, but I'd like to know what I'm getting to handle differently. Any ideas?     
asked by 09.10.2015 / 16:10
1
answer

Read / Write information in .cds file

I have taken a project to develop in C #, the project is based on reading information from a .txt file and writing the information to an existing .cds file that is used on a system developed in Delphi. I searched for an API that...
asked by 10.10.2015 / 23:30
1
answer

Form flashing when setting upper border

The code that follows is an (unfinished) component, a label , that I was trying to do. The idea was to create a label in which I could define margins, paddings and borders, and for edges the thickness is common to all and I can define the...
asked by 30.09.2015 / 23:43
1
answer

How to serialize a Json object? Delphi XE7

I need to generate an Object that represents a JSON file and Delphi is generating me the following ERROR: 'Internal: Invalid pair name {"directory": "d: \ Folder \ Doc"}: expected type or ref' In the line of code: objetoJson := UnMar.U...
asked by 25.09.2015 / 15:56
1
answer

Add rows to a certain place in TMemo

I have some variables that get some data from a common edit. My question is the following, the person will click the button and TMemo will receive the data, I would like in this action he would clean the same edit and repeat the process as man...
asked by 24.09.2015 / 13:40
1
answer

How do I install the Chromium package in Delphi?

I was using the TWebBrowser component which is based on Internet Explorer, however I have noticed that it runs the HTML5 pages in a disfigured way, I heard about the FireFox package, but it did not run in Delphi and was shown to be very heavy, s...
asked by 18.08.2015 / 00:28
1
answer

Validate URL Regular expression

I would like to know the following, I have a regular expression to validate URLs, but I would like that besides validating the URL, it would release if the URL is empty or with blanks: I think the idea was this, but when I run Delphi, empty U...
asked by 09.08.2015 / 13:49