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
- 
		2 votes0 answers122 viewsDelphi Rlanglelabel lose qualityDoes anyone use Fortesreport’s Rlanglelabel? This component loses quality in the printing, what is circulating is using the Rlanglelabel, as we can notice it loses quality. Does anyone know if there… 
- 
		2 votes1 answer665 viewsServer-to-server Mysql Database Synchronization (VPS)I would like to synchronize my databases that are hosted between 3 different VPS, I would like to synchronize this data in real time when a record is changed in a database in a given VPS… 
- 
		2 votes1 answer594 viewsRounding out with FormatfloatWhen trying to round to 4 decimal places the value 18,36735 by means of the function Formatfloat, the system generates the value 18.3673. How is this possible? It should not round up the value,… 
- 
		2 votes1 answer138 viewsDelphi 10 Seatle Error When Compiling RxlibAmbience: Windows 10, Delphi Seatle 10 Rxlibrary (http://www.micrel.cz/RxLib/dfiles.htm) I am trying to compile a system originally developed on D7 in Delphi Seatle and am getting the following… 
- 
		2 votes1 answer142 viewsGS1 tags Code128 subset CHas anyone implemented the standard GS1 barcode? In the pattern there is a barcode Code128. I’m trying to implement using Code 128 subjet C, my number of digits will be odd. How it has to be:… 
- 
		2 votes0 answers1332 viewsHow to create Tdatasetfields in Tfdmemtable at runtimeWith Clientdataset it was possible to bring a Tdatasetfield field with another data structure (another table) internally. This was done automatically by Tdatasetprovider. I’m migrating to Firedac… 
- 
		2 votes1 answer247 viewsError Char to String conversionI have the following code: procedure TDM_Maquinas.IBQCons_MaquinasCOD_LINHAGetText(Sender: TField; var Text: string; DisplayText: Boolean); begin Text := Sender.AsString; if Text <> '' then… 
- 
		2 votes1 answer2430 viewsConsume Webservice in SOAP with HTTPRIO in DELPHII’m having a little trouble with a request via webservice/Soap. I’m trying to feed a function of a WSDL of Vtex through the Delphi and it always returns to me that a value has not been filled in.… 
- 
		2 votes1 answer150 viewsUsing data from an array in a ReportI have a matrix like this that is being filled in Runtime: MatSort[0][0] - Nome1 MatSort[0][1] - InfoNome1 MatSort[1][0] - Nome2 MatSort[1][1] - InfoNome2 But I don’t know how to reference the data… 
- 
		2 votes1 answer1733 viewsHow to read Json with multiple lists (DELPHI)?I’m using the XSUPEROBJET examples to read the Json below, but the examples use simple Json structures, and they work, but when I try to read the structures with multiple lists they don’t work. I… 
- 
		2 votes1 answer688 viewsFind Delphi component by stringI need to open a form on Delphi, but instead of calling him straight by name UniForm1, I need to call you for the value stored in a String. procedure TMainForm.UniTreeView1Change(Sender: TObject;… delphiasked 8 years, 1 month ago user75204
- 
		2 votes1 answer330 viewsConcatenate Sqlquery loop resultI have a loop that scans a table, I need each row a variable type string be incremented with the respective records. Use FDQuery and FDConnection. Follow an idea of what I need var linhas : string;… delphiasked 8 years, 1 month ago Ezequiel Tavares 351
- 
		2 votes1 answer87 viewsHow to work with type EnericoHello! I’m starting at Delphi and was creating a method to add margin to an object, but needed it to be for any object. Example of the code I was working on. Below is the example of the code I made… 
- 
		2 votes1 answer1171 viewsSave image to POSTGRES database with DELPHI Tokyo by Android AppI need to save a photo that is taken on the tablet camera and save it in the database. The field type is typea. I’m using the Timage component to view and reference the image, but I can’t save it to… 
- 
		2 votes1 answer67 viewsRepetitions and combinations of valuesI have a table (corner) with 5 fields, each field can have the value from 1 to 80. I wonder if it is possible in SQL or only in Delphi, to catch the dukes (combinations of 2 numbers) between 1 and… 
- 
		2 votes4 answers1882 viewsCount substrings within a stringI want to know how many times you leave a string appears within a text, example: In the Microsoft quality is prioritized, therefore the Microsoft is the best. I want a function in which I pass two… 
- 
		2 votes1 answer173 viewsDelphi - Executable with different behavior on different machinesI wanted to create a transition effect to a form, so in the event OnShow, I set up the estate AlphaBlend := 0 and, in the OnActivate: for i := 55 to 255 do begin AlphaBlendValue := i; Update;… delphiasked 8 years, 1 month ago Ricardo Alves Carvalho
- 
		2 votes1 answer1209 viewsConfigure Delphi Berlin for api 16 or 17 or 18 (Jelly bean version of android)Goodnight, If anyone can help. I wonder if anyone has any tutorial to configure the android sdk in Delphi Berlin to compile in api 16 or 17 or 18 (which corresponds to the bean Jelly versions of… delphiasked 8 years ago Cassiano Luz 31
- 
		2 votes1 answer1234 viewsThread - How to Call a Form within an iTask Thread?In Delphi 10.2, I have a Form A that has a Ttask "Task-A" that fires a Storedprocedure in the Oracle bank with Firedac. Storedprocedure updates a table of results that will be used by a form B which… 
- 
		2 votes1 answer217 viewsAbort Program Exit ProcedureI am using a code to ask the user if he wants to save the changes before leaving the program (Yes, No and Cancel buttons). The problem is that when the user clicks to save before exiting (Yes… 
- 
		2 votes1 answer896 viewsIdentify the type of variable received in a generic functionI have a function in Delphi that receives a kind of generic data, I would like to know what kind of data received, like this: function MinhaFuncao<T>(): T I need to know what kind is in… 
- 
		2 votes1 answer1419 viewsError connecting Delphi 10.2 + Zeos + PostgresqlI’m trying to connect Zeos to a Postgresql database. I already copied all the DLL’s to the application folder. Zeos finds the DLL, but gives an incompatibility error: Client-Library libpq.dll found… 
- 
		2 votes2 answers398 viewsExclusive access to a Chart in Firebird Got How?Would Open a Table in Mode Exclusive in the Firebird for Delphi preventing other users from opening the Table? I use Delphi 10.1 and Firedac for connection to the database.… 
- 
		2 votes2 answers1468 viewsHow to use Firebird WITH LOCK with Delphi FiredacI’m trying to Block a table on my system in order to prevent other users from entering the system when the procedure is running, how can I do this using the "WITH LOCK" with the "Firedac"? This… 
- 
		2 votes2 answers444 viewsWhat are the advantages and disadvantages of creating a Windows serviceI want to know the advantages and disadvantages of creating a windows service and if: If it’s easy to maintain; If anyone ever had a problem with that; If you require any specific knowledge, apart… delphiasked 7 years, 11 months ago Edu Mendonça 2,564
- 
		2 votes3 answers357 viewsHow to add parameters in TdfquerryHow to add a new parameter in TDFQuerry?, The image below shows the parameters filled, and in case I need to know how to add another.… 
- 
		2 votes1 answer643 viewsFastreport’s Tfrxrichview changing color on its own in Delphi XE?I searched the web but found nothing in this sense, there must be some bug in the component TfrxRichView of Fastreport 5.1.9, when placing this component and setting the background color it accepts… 
- 
		2 votes1 answer1438 viewsVariable Declaration with Default Value in ProceduresYou could declare a variable with a default value in Procedures? procedure TfrmManutencao01.FormShow(Sender: TObject); var lPriAber : Boolean = True; begin . . . end; I know that as it is above… 
- 
		2 votes1 answer3507 viewsHow and where to create files on Android with DelphiIn my application in Delphi I am creating a simple text file on Android, using the following code: var lst: TStringList; begin lst := TStringList.Create; lst.Clear; lst.Add('a'); lst.Add('b');… 
- 
		2 votes0 answers706 viewsreCaptcha in Delphi applicationI’m doing a CNPJ query by the Revenue website in an application. Now they’re using the reCaptcha, then in a Webbrowser allow the user to click on I’m not a robot and after that, the user must click… 
- 
		2 votes0 answers78 viewsAccess to memory error!I’m trying to implement a BINA with Delphi 7 using Super Bina! I added the component to form and in a botão done: procedure TfrmPrincipal.btnAbreConClick(Sender: TObject); var texto: String; begin… 
- 
		2 votes1 answer795 viewsHow do I detect the button click (html) on Tchromium Cef4delphi?I have the Tchromium Cef4delphi component loading a web page, and on that web page I have a button. It is possible to detect the click of this button on the web page (html) and open for example a… 
- 
		2 votes2 answers1095 viewsHTTP Error 406 using Rest Delphi components with XML returnI am trying to consult an NFS-e with the REST components in the XE7, in the queries of type Json I could normally, but when the return is of type XML it gives error 406, I tried to send the Accept… 
- 
		2 votes2 answers381 viewsDelphi - Dbgrid does not replace first line contentGood morning, everyone... I have a table in an Sqlite database with an "integer" type field to store "Boolean" values. This field is linked, on the registration screen, to a Dbcheckbox. So, to be… 
- 
		2 votes1 answer460 viewsRemove Down Arrow from a ComboboxI want to use a TComboBox with the property style = csDropDown as if it were a TEdit. But why use a TComboBox then? Because I only want one feature of it, the AutoComplete. But I want to remove the… 
- 
		2 votes2 answers688 viewsDelete a line in Dbgrid without deleting in DatabaseCould erase one or more lines from a given Dbgrid without deleting the database record? I was trying something like this but it didn’t work. while not DataModuleGeral2.qryAudienciasInicial.Eof do… delphi delphi-10 delphi-berlin delphi-tokyo delphi-seatleasked 7 years, 6 months ago Edu Mendonça 2,564
- 
		2 votes0 answers266 viewsDelphi sql using coalesceIn Delphi I have Tibquery: select * from TB_PRECO where coalesce(DT_CAMPANHA,'') = coalesce(:DT_CAMPANHA,coalesce(DT_CAMPANHA,'')) and coalesce(DT_VECTOPRECO,'') >= coalesce(:DT_ATUAL,… 
- 
		2 votes1 answer1114 viewsSaving formatted text in the Firebird databaseI know you have a similar question to that, but it’s for tag C# Has with Save formatted text in a TRichEdit in the Firebird? What would be the data type of field that makes this recording possible?… delphi firebird delphi-berlin delphi-tokyo delphi-seatleasked 7 years, 5 months ago Edu Mendonça 2,564
- 
		2 votes1 answer382 viewsDelphi Integrator + ScannerDoes anyone know any component or way to integrate an application made in Delphi XE2 + Scanner, need to save what is being scanned. 
- 
		2 votes2 answers403 viewsWhy does the app close when I click edit1?Guys the problem is this, I click on the button to create a new form ,edit1 gets the focus, digital keyboard appears when I click on the letter a for example the app closes, why is it? Anyone can… 
- 
		2 votes3 answers3721 viewsWait for Thread to finish to proceed with the code - DelphiI’m facing a problem in an application that I developed. It is an automatic updater that basically downloads the necessary files and extracts them in a suitable path. The problem is time to… 
- 
		2 votes1 answer853 viewsCan the use of Try in Delphi when misused be a trap?Once a programmer saw my codes and praised me for making use of Try, I confess that I was not thrilled by the praise for finding that the use of Try is not a simple way to solve exceptions, I see… 
- 
		2 votes1 answer250 viewsHow to convert this character to Postgresql?I am using Delphixe and Postgresql, it happens that I need to insert some characters in the database that are not accepted in LATIN1. My base is UTF-8, but as the system has been transported since… 
- 
		2 votes1 answer483 viewsTaking the name of the Standard PrinterI can get the default printer name declared Printers in the uses section: Printer.Printers[Printer.PrinterIndex] If by chance, while running the program the user changes the default printer. How do… 
- 
		2 votes1 answer607 viewsGenerate . exe from my ProgramWell I’m in doubt I saw in a forum something about that Content found in the forum and I’m looking for more explanations and examples I am developing an Auto-Backup Database generating your . SQL… 
- 
		2 votes1 answer219 viewsDelphi program connection compiled for Win64 with Firebird 64I have an app written in Delphi (XE3) using IBX, that compiles in 32 and 64 bits. Running in windows 10 64 bits the program in 32 connects normally, but the 64 has the connection rejected by… delphiasked 7 years, 5 months ago Dalio Braga 21
- 
		2 votes0 answers105 viewsError saving Word document to OlecontainerSituation is the following I have a system that makes automation of the Word and at the time of salvage the document he is not saving. It is not what it is, because it only occurs in the Client.… 
- 
		2 votes1 answer547 viewsOpen word file by DelphiI have a system that integrates with MS-Word I can do almost everything on it, just can’t open the document and leave it as read-only so that the user can not make modifications. currently my code… delphiasked 7 years, 5 months ago Edu Mendonça 2,564
- 
		2 votes1 answer54 viewsDuplicate resource fileI am with a project that has the following resource file directives: {$R *.DFM} {$R UAC.res} After I copied a part of the project into another folder, it presents me with the following error after… delphiasked 7 years ago marcocunhasilva 21
- 
		2 votes1 answer302 viewsBetter shape in Firebird, taking safety and lightnessI’m developing a software in Delphi, using Firebird. My goal is to have a lightweight, fast, but, software that has security, regarding errors, corruption in the bank, resist as far as given to…