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
-
0
votes2
answers318
viewsFilter in Delphi does not work with accent
While searching: AQuery.Filter := 'nome LIKE ''%jose%'''; The result José da Silva is not shown due to the accent in the letter is. I researched several related issues and realized that: The Mysql…
delphiasked 5 years, 5 months ago Soon Santos 101 -
0
votes0
answers146
viewsProblems with Stylebook Delphi 10.2
Hello. I am trying to display a list of products within a listbox. Previously a query is loaded and for each order item I add an item inside the listbox. The fact is that I needed to make a change…
-
0
votes1
answer209
viewsFiredac problem (Delphi XE 10.2 and Access 2000)
I am using Delphi 10.2, and I am trying to display the list of tables of an Access database. My BD path is higher than 128 characters... Way of my comic: pathbd := "C: basedata.......... data.mdb"…
-
0
votes1
answer150
viewsUrl Image Locking Delphi Mobile Application
I am inciante in Mobile and I am in the following situation: have 3 listview that receives data via Rest from a PHP site using restClient, Restrequest and restResponse... data gets certificate,…
-
0
votes2
answers56
viewsUncheck Checkbox With Password Only
I have a system and in a precise part only support members can deselect a checkbox. I have tried several codes but there is always the same problem : The Checkbox by default when clicked it is…
-
0
votes1
answer66
viewsBde package reference error in Delphi
I need to recompile a legacy application that came from a company we acquired. In this project has the reference to what I believe to be the package (Comic), that as far as I know has been…
-
0
votes1
answer98
viewsHow do I use sendmessage?
I’m getting the list of resource classes from another application but I can’t find Button, edits or Abels classes and I see that the application has these features. This is my code: procedure…
-
0
votes1
answer103
viewsExecsql does not allow the field not to be changed
Whoa, whoa, guys, whoa. Newbie here Every time I click on change and then click on save (without making changes of record) returns me error . Any idea how to fix? some kind of check on whether there…
-
0
votes1
answer563
viewsPopular a runtime list view with Dynamicappearance
Good morning, I’m trying to add items to a listview at runtime. In this item to a text and an image, the text part worked normal, but the image does not, it is added normally, but is made for all…
-
0
votes0
answers233
viewsHow to Load Richedit Line by Line From File
I need to load a Richedit from a file. txt reading line by line. I’m using a code, but Richedit doesn’t carry accented characters (Examples: ç, à, á, ã, é, ê, í, ô, õ, ó, ù...) The code is as…
-
0
votes2
answers511
viewsCould not Convert variant of type (Olestr) into type (Double)
I want to do a loop loop where every loop it arrow the person’s name plus the variable, but when I join the integer type variable with an error message text saying "Could not Convert Variant of type…
delphiasked 4 years, 11 months ago Erick Gustavo Ribeiro 18 -
0
votes3
answers920
viewsScroll through all json nodes
I have the following Json file. {"symbol":"KYCT","status":"ACTIVE"},{"symbol":"UNDA","status":"ACTIVE"}, {"symbol":"QUIA","status":"ACTIVE"} I have the following reading routine that loads this file…
-
0
votes1
answer51
viewsDelphhi Edit Record Problem
Good evening folks! I recently joined the Delphi world and created some client registration applications using the Mysql database. The records added to the database are shown in a Dbgrid and when…
-
0
votes0
answers93
viewsOLE Error Windows Xp
I have an application developed in Delphi, while running only on Windows XP computers I am having the following error: OLE error 80131513, ClassID: {3A8B6B96-4F23-4EB5-B4B1-243BFBC41A39} Follows my…
-
0
votes0
answers830
viewsDelphi - How to read entire Excel spreadsheet into a Clientdataset?
Talk people! I’m having a problem reading data from an Excel spreadsheet into Olevariant objects. My file even reads the spreadsheet correctly, only it only reads up to line 3162 and the spreadsheet…
delphiasked 4 years, 10 months ago SolaDeCoro 11 -
0
votes0
answers33
viewsEdatabaseerror "zqryList: Field 'Number' not found" when the alias contains "/"
There is a field in the SQL of my form with the alias "Number/Minuta", and when the SQL is executed for the second time the message Field 'Number' not found is fired. I can solve this by giving a…
-
0
votes0
answers50
viewsTemporary lines in objects created in Runtime
When creating objects in Runtime in firemonkey appear several lines around the object, in the image below a tlayout, when resizing the form or hovering over the line it disappears, happens with…
-
0
votes1
answer92
viewsWhat is the difference between passing nil in Synchronize/What is the difference between a Task/Thread?
In most examples I found the structure of a basic Task is: procedure var FTask : ITask; begin FTask := TTask.Run( procedure begin //código a ser executado dentro da Task;…
-
0
votes1
answer234
viewsData registration in a dynamic array returning Eaccesviolation
I’m trying to create a Delphi database to register and save to a 3 basic variables dynamic array. To do this, I created a global dynamic array named Pedidos, one Record Tpedidoitem with id, name and…
-
0
votes1
answer59
viewsDll Delphi Using on C#
Hello, I’m trying to integrate a dll made in Delphi 10.1 and use its functions in C# however it even accesses the dll but the application CLOSES without giving any error, I will pass as I am doing.…
-
0
votes0
answers43
viewsDelphi - Recover code on Dbgrid after registration
Hello ! I have a Dbgrid connected to the temporary table (Tfdmemtable) with data of products that were imported from an XML and from a product I call at runtime the product registration form filling…
-
0
votes1
answer87
viewsSend to API via POST Request in Delphi 10.3
Good evening Guys, I’m a beginner in Delphi and I’m trying to send a creation request for an Api but I’m having some difficulty with the POST. How do I send this? I’m trying for this API:…
-
0
votes0
answers24
viewsWhy do I keep replying to 401 HTTP Request POST via Delphi Components?
I’m trying to make a request with method post with a JSON in the content, with Calendar information that will be inserted, that is, integrating my application with the Google Calendar API. But it…
-
0
votes0
answers253
viewsIntegrating Google Calendar API with Delphi
I’m trying to use the REST components to make an HTTP request with the POST method to insert a calendar into the API, but my request is returning the error "400 - Bad Request" and before it was…
-
0
votes0
answers19
viewsService Name through PID
I have an application that needs to stop a service and, if this service does not stop, run a Killtask. I can currently return the process path and your PID, but I cannot return the Service Name…
-
0
votes1
answer225
viewsIs there a way to execute an internal command stored in a . txt (or String) file in Delphi?
I am trying to display an image when loading a Form, but the command needs to come from an external file. txt (or a string that will store this existing command in .txt). I can show the lines with…
-
0
votes2
answers133
viewsHow to copy a. txt encoded file to another decoded file using Assignfile?
I have a. txt file encoded and need to copy the decoded content to another . txt. In the first file, I have the following: Gcbqrm5mnp4 Gcbqrm5mnp8 Gcbqrm5mnpc When the new file is created, it is…
-
0
votes2
answers205
viewsHow to use IN in Filter from a Clientdataset?
According to the documentation of the Embarcadero I can use IN in the Filter of a Clientdataset, see example taken from the documentation itself: Country IN (SELECT Country from Country where…
-
0
votes1
answer30
viewsrPad or Padright in Fastreport VCL text export
I am developing a layout that will serve as a basis for exporting a standard CNAB 240 or CNAB 400 text file (billets). I was able to generate the information, everything straight. The problem is…
-
0
votes0
answers26
viewsDelphi - Search E-mail with IMAP4 (Code returns true for false results)
Hello, good morning, sir. I am developing an application that needs to access the email, through IMAP4, and search a certain term in the body of the email or subject. The problem is that I have the…
-
0
votes0
answers53
viewsExclusive connection on Firebird
I am having a problem in production environment, because my application is trying to access exclusive form the database and precise circumvent this problem. In debug this did not happen. Returning…
-
0
votes0
answers88
viewsJPG Image in Forte Reports Delphi
Good afternoon, you guys. I have a Production Control Register with product image. It accepts both BMP and JPG. This image is recorded in Firebird 2.5. I made an impression of this Control’s…
-
0
votes2
answers64
viewsSelect returning null values in the database
SELECT S.ID_SALES, S.ID_CLIENT, C.FULL_NAME, S.SDATE, coalesce(S.billed, 'N') BILLED, P.product_description product, I.amount, I.unit_cost, I.unit_cost * I.amount SUBTOTAL, coalesce(I.discount, 0)…
-
0
votes1
answer17
viewsProcedure Call in DLL receiving unknown value
I’m studying the use of DLL, I created one by sending two integer variables, specifically 3 and 10536. Debugging the DLL verifies that in the process I am calling and that receives these two…
-
0
votes1
answer62
viewsHow can I get all data stored in an array
I am programming a system in Delphi that should trigger automatic emails, and to store some of the emails that I have in my database, I place them in an array as follows? function…
-
0
votes0
answers32
viewsSQL doubt string_agg (Delphi+Postgres)
Good evening. This sql was running exactly as I wanted, but yesterday started to get out of the field order g gallery.. It had an output (example) like this: GALLERY 10: 26 / GALLERY 11: 23 /…
-
0
votes1
answer39
viewsError accessing state change that has a country
I have a state register, which has a country. It registers normal, only that error occurs when accessing the state change. I don’t know if it’s right, but from what I understand, something from the…
-
0
votes1
answer23
viewsHow to Disable a Tbuttongroup Item
I was wondering if there’s a way enable / disable the items of a Tbuttongroup or at least add the property to it? And I’ve tried it in the following ways.…
-
0
votes0
answers36
viewsFOR Select MYSQL Database
I need to do this same process below in Mysql; create or alter procedure SP_ATUALIZA_ESTOQUE_COMPOSICAO ( CODEMP integer, CODPRO integer, QUANT numeric(18,3), CODLOCAL integer) as declare variable…
-
0
votes0
answers44
viewsHow to create a Property with a RECORD type - DELPHI
Good morning... I’m trying to create propertys for a form. Creating Property with strings types I know how to do, however I’m trying to create a Property of a RECORD type that already exists.. I…
delphiasked 3 years, 8 months ago Ricardo M.Souza 588 -
0
votes0
answers14
viewsStrong Report running Trlband more than once
I have a Fort Report, inside it I have a Trlband with bandType = btDetail, in the Beforeprint I have the following code: procedure TFRel_QualidadeFomento.RLBand2BeforePrint(Sender: TObject; var…
-
-1
votes3
answers138
viewsCannot capture sql error
try DModuleGrid.ZQuery1.Close; DModuleGrid.ZQuery1.SQL.Clear; DModuleGrid.ZQuery1.SQL.Add('SELECT * FROM tdcupant'); DModuleGrid.ZQuery1.SQL.Add('WHERE numcupom = :co2 AND ccf = :cc3 AND dtcompra =…
-
-1
votes1
answer5645
viewsTimer run given hour
I need to make a timer that runs every day at 18 hours and press a Button. I couldn’t find anything on the internet about this, any suggestions ? I tried the next, but he does nothing: // TIMER…
-
-1
votes1
answer77
viewsindex of Bounds and timer problems
Next, I have a timer that fills 2 fields in a webbrowser, the same makes the following function... var pega : string; begin pega := Listaimportados.Items[i]; I := i +1 nome.text := Copy(pega, 0,…
-
-1
votes1
answer154
viewsDelphi 7 with Indy 9 runs on Windows 8?
Good people like me who only use idhttp.get with http on Delphi 7 indy9 standard, which is simple and does not require dll ... it runs on Win8? 'Cause I’ve researched and I only see people saying…
-
-1
votes2
answers1613
viewsRemoving characters from a text
Hello, I need to make an application that within a notepad (which I did), remove data in an interval. What I need now is to know how to remove the email (in parentheses) from the phrase. Example:…
-
-1
votes1
answer213
viewshow to receive panel values for a string array?
how to receive panel values with edits for a string array? I need 10 records that will be typed into edits that are inside a panel, and so save into an array of strings or integers.
-
-1
votes1
answer331
viewsMobile Application making calls in Delphi
I was wondering if it is possible to make calls with a mobile app built in Delphi ? If it is possible to show an example of how to implement.
-
-1
votes2
answers2121
viewsDoubt using Firedac with Tclientedatset
I am using these components but am having the following error while trying to open Clientdataset. Generates the error: Access Violation at address 50FCDC6F in module 'dsnap230.bpl'. Read of address…
-
-1
votes1
answer190
viewsFields losing Datasource property
I have a small project of some records here, using the Delphi XE8. sometimes when I change something in the project, all fields (Edit s and dbGrids) lose the "Datasource" property and have to link…
delphiasked 8 years, 8 months ago Rodrigo Tognin 1,057