Most voted "delphi" questions
Delphi is a language for the rapid development of native applications for Windows, OS X, iOS and Android applications. The name refers to both the Delphi language (a modern evolution of Object Pascal) and its IDE, which is used to help edit and debug Delphi projects.
Learn more…1,390 questions
Sort by count of
-
1
votes1
answer134
viewsError Webrequest c#
I am making a POST type request for a URL, but I always receive as an error the following message "The underlying connection was closed: Unexpected error in an upload.". This request is made through…
-
1
votes1
answer676
views -
1
votes1
answer81
viewsWhat’s the difference between Owner and Parent?
I want to know the difference Owner for Parent at Delphi?
-
1
votes1
answer131
viewsSimulate keystroke - Delphi
Hello, I’m having trouble sending the keystroke in a game, I’m using Delphi, I tested functions like: SendMessage(hdle_do_game, WM_KEYDOWN , ord('a'), 0); keybd_event(65,0,0,0);…
-
1
votes1
answer61
viewsTcxgrid with sub level, show column to expand levels at last position
Hello! I’m a beginner with Cxgrid, I need to do a sub-level grid, but I wanted the column that allows expanding the levels (+) to be in the last position of the columns of the grid. I do not know if…
-
1
votes1
answer1079
viewsPopular runtime Clientdataset to run an SQL query ? Delphi
I need to configure the CDS to save the result of the query, but without dragging the components, since in this case I am not using any form, but returns error 'Invalid Field Type' in the fields…
-
1
votes2
answers65
viewsStatement update SQL
Good morning. I have the following SQL running: UPDATE pessoas SET implante = true FROM saida WHERE saida.prontuario = pessoas.prontuario and saida.mes LIKE (date_part('MONTH', CURRENT_DATE) || '%')…
-
1
votes0
answers23
viewsWhat is and what is the GDI Scaling for
I just installed the newest Delphi and I realized this GDI Scaling Someone knows how to say it is, what it’s for and how it works?
-
1
votes1
answer554
viewsProblems with Serialize Delphi - tkPointer
Good morning, I have a problem trying to use the function: TJson.ObjectToJsonString( Pedido ) Da Unit REST.Json The object I’m trying to convert to Json is as follows: unit class_regjson; interface…
-
1
votes0
answers234
viewsDelphi Json Treeview Dataset
I haven’t seen anything like it here yet, No Delphi a select no dataset returns the data to my tree this way: ID PARENT NOME 1 null GrandFather1 2 1 Son1 4 2 GrandSon1 5 2 GrandSon2 3 1 Son2 6 null…
-
1
votes1
answer434
viewsClient and Server socket with Indy
Dear, I am trying to create a program that will receive a list of products sold through a Socket connection. I can connect via Tcpclient, but I’m not able to send the list of commands, nor receive…
-
1
votes1
answer345
viewsHow to pass a string as parameter to a C#DLL
I have a dll made in C# with a method that receives a string type parameter, I created a function in Delphi that calls this method and passes the following string in the parameter: ’D: Banks…
-
1
votes1
answer595
viewsUnknown error in integration with Webservice REST
I am trying to make a POST type request using the components: Resrrequest, Restclient, Restresponse by Delphi Xe8. In the GET type integration I can do normally, I get the return normally from the…
-
1
votes2
answers375
viewsFormat Date by Capitalizing the Month
I know there are several other topics of date formatting but I did not find one with my doubt... According to the documentation of Delphi the date is formatted according to the table below. d…
-
1
votes2
answers6846
viewsHow to cut string text in python by delimiting the initial substring to the final position?
I would like to know and understand how to return the cut in text with offset. I’m a beginner in python and I’m currently on a project to migrate from Delphi to python and there are a few things I’m…
-
1
votes2
answers98
viewsTdbgrid with Multiselect selected with one Click
I’m going through the following problem with a TDBGrid. That one TDBGrid is with the option dgMultiSelect active. The problem is, I want, with one click the line to be selected as if it had pressed…
-
1
votes1
answer87
viewsProblem with return of POST using Synapse
I am performing a POST request on Delphi XE7 using Synapse (Synalist). I just took the part where I do the POST method and perform my attempts to convert the result. Above that I declare properties…
-
1
votes1
answer475
viewsWhat is the best way to clear your memory when using Lkjson in Delphi?
I’m having trouble wiping the memory data when I use Lkjson in Delphi. I tested using Freeandnil, Free, Destroy and Freeinstance. In some cases I get the following message when closing the…
-
1
votes1
answer745
viewsDDL Indy forcing TLS requests 1.2
I am trying to refactor the code the code of the DLL Gerencianet Payments for the DLL to make requests only by the protocol TLS 1.2. Reference: uGerenciaNetIndy.pas I am compiling the DLL through…
-
1
votes1
answer379
viewsError filling Listview in a thread (Delphi)
In a mobile project I have a code snippet that fills a Listview with data from a Dataset (I’m not using Livebindings). Up to a certain point everything was working fine until I decided to add an…
-
1
votes1
answer82
views -
1
votes0
answers74
viewsandroidservice notification does not work
I created a multidevice application and added a local androidservice. I need to issue notifications through the service, follow Unit: unit AndroidServiceDMUnt; interface uses System.SysUtils,…
-
1
votes1
answer49
viewsCreating Run Time Components in Windows Service
I’m trying to make a Windows service in the Delphi 10.2 and in one of the procedure I need to create a TMemo only when I execute this error below. Project AutoPub.exe raised exception class…
-
1
votes0
answers121
viewsUse AVI in the Tanimate component (VCL project)
I use Delphi 7 and have been trying for more than 4 hours to add a simple animation "loading" (loading) into a Tanimate component, without success. While trying to load the AVI file through the…
-
1
votes0
answers213
viewsinclude PDF metadata
I need to include a text in the metadata area of a pdf printed via Delphi using Pdfcreator version 3.51 as a virtual printer. I searched I tried to do by the manual of Pdfcreator and searched on the…
-
1
votes0
answers400
viewsImport CSV File to SQL - Delphi
I have a program in Delphi that imports certain CSV file to an SQL database in order to later compare the data between different versions of the same file, for example a version of the file is from…
-
1
votes0
answers60
viewsAdding Records with Specific Data
Well, I’m currently working on a project that we use Clientdataset’s to communicate with the database. My problem is Next, I have a Receiving Report in the Export Sector, in which there are several…
-
1
votes0
answers105
viewsError: "insufficient information on the base table for update" Delphi Berlin + SAP MAXDB database on Windows 10 64bits 10
I’m beginner here on the site, I tried for a print but do not know if da. but I will try to detail the whole scenario: Windows 10 64bits (machine where I have Windows 10 installed and with the…
-
1
votes0
answers214
viewsHow to run more than one query in Delphi Seatle in Firedac’s Fdquery using oracle?
Using Sqlserver it is possible to run the following two queries within the same firedac Fdquery FDQuery.FetchOptions.AutoClose := False; FDQuery.sql.add('select * from tabela1');…
-
1
votes0
answers52
viewsNested Datasets with Fdquery Firedac
Hey, guys, everything okay? I need to ask a question, when using dbExpress, it was possible to make master detail with the clientDataSet using the Nested Dataset, where in the clientDataSet PAI,…
-
1
votes2
answers89
viewsError leaving the Formshow
I’m trying to figure out a mistake that I don’t know exactly where it’s generated. whenever I have to open one of the screens of the system it passes by 2 Procedure, (I go through them just below)…
-
1
votes1
answer467
viewsDoubt - Creation and completion of Threads in Delphi
Good morning, I am creating a chat system in Delphi, and I am using thread to render the message history without the application blocking. Before several researches, I found one thing here, another…
delphiasked 5 years, 1 month ago Paulo Vinicius 79 -
1
votes0
answers21
viewserror Content for element Serv is incomplete According to the DTD/Schema
Good morning, I’m trying to send a note, but it’s catching up with the following message: Content for element Serv is incomplete According to the DTD/Schema. Expecting: vServ. the part where I…
-
1
votes0
answers138
viewsGenerate notification in the Windows Sidebar for specific user?
I am using Redis Pubsub to create a Chat Desktop and would like to generate a notification in the Windows sidebar to a user when they receive a message. Searching the internet soon found the…
-
1
votes0
answers130
viewsInsert Calendar API google via REST Delphi Response 401
I am trying to use the REST components to make an HTTP request with the method POST to insert a calendar into the API, but my request is returning error "401 - Not authorized". I’m trying to include…
-
1
votes2
answers74
viewsDúvida Postgresql
Good morning. I have the following SQL working: Select g.galeria,g.tipo,g.finalidade,count(p.galeria) as total from pessoas p full join galerias g on p.galeria = g.galeria group by…
-
1
votes0
answers315
viewsHow to send images in a Fastreport report with Delphi?
I was having a lot of doubts about that. I searched several articles about it over the course of days, but in all of them I saw a flaw, most did not clearly show how to send a parameter or variable…
-
1
votes0
answers51
viewsRead object array in a json in Delphi
I need to take the values that are inside an array in JSON. A part of this JSON is: { "total": 1, "limit": 50, "questions": [ { "date_created": "2020-08-20T13:22:01.600-04:00", "item_id":…
-
1
votes1
answer72
viewsHow to create a complex Tjsonobject/Tjsonarray with XE2
I need to create a complex Json, with several objects, and each object will have items; { "Pedidos": [ { "CodCad": "1286", "CodForPag": "15", "CodCndPag": "43", "CodUndAdm": "1", "DatEmi":…
-
0
votes1
answer917
viewsObject-Oriented Programming
I’ve been developing projects in Delhi since the Easter season, but my big problem is that I never kept myself very updated on the changes and I always used a procedural language and now I need to…
-
0
votes1
answer801
viewsHow to Save Desktop Projects in Delphi?
Question: I would like to know how I should proceed to save the desktop of my project, which would be, the .pas that were open when I was working before closing it, and while re-opening Delphi, I…
-
0
votes3
answers5715
viewsHow to customize the Delphi editor?
I would like to get some tool to customize the Delphi editor. Although it is a great editor, with features integrated with the component interface that generates and updates code automatically;…
-
0
votes2
answers1059
viewsHow to automate login to Gmail?
Explanation: Currently, I have a URL that informs the Gmail User Email:…
-
0
votes1
answer246
viewsHow to use Bass_fx.dll attributes?
Next. I was using bass.dll without any problem. But when I try to use the attributes of bass_fx.dll, the bass does not recognize. I performed the installation of the two dlls as follows. 1- I copied…
-
0
votes2
answers315
viewsInsert error with Adocommand
In Delphi XE4, SQL Server 12, connected by ADOConnect. ADOCommand1.commandText being 'insert into tabela (a,b,c) (1,1,1)' It works as expected if a record already exists. But if it is the first…
-
0
votes1
answer1523
viewsImport data from a TXT and play required positions in Stringgrid
Follow the code I developed, along with my co-worker. procedure TfrmGrid.Button1Click(Sender: TObject); var arq: TStringGrid; txt: TextFile; c, l, treg : integer; lTemp: String; begin treg := 0;…
-
0
votes1
answer649
viewsFirst Stringgrid (Delphi) line information
Follows the code: procedure TfrmGrid.sgCuponsDblClick(Sender: TObject); var txt: TextFile; l, i : integer; lTemp, CFF, COO: String; begin i:=0; l:=0; CFF := sgCupons.Cells[0,sgCupons.Row]; COO :=…
delphiasked 10 years, 8 months ago Ramon Ruan 1,018 -
0
votes1
answer854
viewsRecognize File . INI / Redo File . INI in case of file deletion
Follow below the code: procedure TfrmSelection.FormActivate(Sender: TObject); var ArqIni: TIniFile; begin ArqIni := ArqIni.Create('C:\sga\saga.ini'); try ZConnection1.Connected := false;…
delphiasked 10 years, 8 months ago Ramon Ruan 1,018 -
0
votes0
answers60
viewsHow to get the source code of an HTML page opened in Firefox?
How to get the source code of the current page opened in Firefox through Delphi?
-
0
votes1
answer245
viewsComparison works, but data listing does not
procedure TfrmGrid.btnLoadClick(Sender: TObject); var txt: TextFile; treg, lreg, dc: integer; valortxt, valorbd : double; dt1, dt2,lTemp, valor, dtcompratxt, numnf, coo,ccf: String; dtcompra:…
delphiasked 10 years, 8 months ago Ramon Ruan 1,018