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
answers1059
viewsDatabase error Missing Driver Name Property
I am making a system in Delphi 2010 with Firebird 2.5 that I select a database and I need to pass path location to my Database in my Sqlconnection. procedure…
-
0
votes1
answer216
viewsSpecial characters Webservice C# SQL X Base Firebird
I have an integration made by Web-service (asmx) , C# e SQL Server. This Web-Service is consumed by a third-party software that uses Delphi and Firebird. The problem is that when integrating a…
-
0
votes1
answer415
viewsError when compiling a project in Delphi Seattle for android
I’m getting this error while compiling for android. In windows, compile and run the app smoothly. If anyone can help I’d be immensely grateful. [DCC Error] E2597…
-
0
votes1
answer110
viewsSuggestion SQL generator on embedded system
I have an embedded system that stays in the client, but I need to develop an SQL generator that is open access to consultants and invisible to the client, IE, with a shortcut key it opens the SQL…
-
0
votes0
answers637
viewsProblem closing thread application inside a component
I am developing a component (visual indicator) that to search the data in the database and generate the indicator itself uses a Thread. This Thread is inside the component itself. It works fine,…
-
0
votes1
answer1477
viewsPick up IP through Winsock - Return correct IP - Delphi
Good morning, I am using the method below to return the IP of the computer, but if I have an active VPN on the computer, it is first getting the IP of the VPN and not the machine. I wonder if it…
-
0
votes0
answers323
viewsChat with two types of client
I wish to chat in Delphi. In a standard project where the two tips would be using a quiet Delphi application (Socketserver and Clientsocket). But my question is the following: One of the tips will…
-
0
votes0
answers461
viewsCanvas Draw Tbitmap Multiple Images
Would you like to capture several images and "join" them all in one without having to save them first, I capture 6 images put one over the other according to the position on the screen and saved in…
-
0
votes2
answers430
viewsDelete Tedit created at runtime
At the click of the button I create some Edits... So far everything works normally, but when I try to exclude edits created by clicking another button, not all are deleted. Ex. I created 10 fields…
-
0
votes2
answers1891
viewsHow to create form dynamically in Delphi
Well I’m having trouble creating the form in Delphi, I’m using a procedure but it’s giving direct error. Could someone tell me a more efficient way to create a form in Delphi? Current code:…
-
0
votes1
answer758
viewsHow to use Tanimate in Delphi
Hello, I want to use the tool Tanimate, but it has no animation in it, where I researched says it already comes along with the tool. Can you tell me if you have to declare something together? or…
-
0
votes0
answers715
viewsAccess denied to delete Registry (even in regedit)
I am trying to delete a Windows registry using Delphi but without success (even with Regedit itself I cannot). Code I am using: Function DeleteKeyAPI(hRoot: HKEY; sPath: String; IsReg64: BOOL):…
-
0
votes1
answer1416
viewsGenerate an XLS without using Excel (BIFF)
How to generate a file .xls without using Excel? I don’t wish to use the OLE, before entering the information in binary format, using the structure BIFF8 or something similar. The problem is I can’t…
-
0
votes0
answers63
viewsDelphi trlReport with Group does not load the first record
I have the sql return: |dt_producao| |20/09/2016 | |20/09/2016 | |20/09/2016 | |21/09/2016 | |21/09/2016 | |22/09/2016 | |24/09/2016 | I’m trying to create a report that makes me join: |dt_producao|…
-
0
votes1
answer397
viewsConvert java code to pascal
I need to convert to Pascal / Firemonkey the java code below: the main doubts are: how to extract each pixel in firemonkey? how this code operates: slice |= (byte) ((v ? 1 : 0) << (7 -b));…
-
0
votes1
answer147
viewscustomFormat Livebindings Couldn’t find ifthen
I’m trying to use an inverted livebindigs, that is, I have a Boolean field that comes from the database and I have to make visible a button when it comes false. I’m putting in the customformat…
-
0
votes2
answers1255
viewsHow to access the methods of a component that is inside a Fastreport file?
I’m sorry if the doubt seems a little fuzzy, but I have the following situation: I have a frxReport component and, inside it, I inserted a chart in the report. In the main form, I added a radio…
-
0
votes0
answers391
viewsPLP SIGEP Streamreader Error
I’m integrating into my system the Webservice SIGEP, with closure of PLP. I am having a problem posting the XML closing PLP. I get the error: STREAMREADER ERROR All other functions work properly.…
-
0
votes0
answers471
viewsGet data from a dynamic table in Excel
I am trying to read a spreadsheet in excel and I am creating a dynamic table via programming and it is working, but I’m having trouble to get this data filtered, because it does not return all the…
-
0
votes1
answer1753
viewsGenerate digital signature file with Delphi 7
I can list all digital certificates with CAPICOM, choose the certificate I want to use for signing, get the file I want to sign, generate the md5 I can even sign, but I can’t generate a file P7S be…
-
0
votes1
answer110
viewsGetwindowtext in C#
How can I use the Getwindowtext function in c# ? Need to convert this function into Delphi for c# function FindWindowExt(partialTitle: string): HWND; var hWndTemp: hWnd; iLenText: Integer;…
-
0
votes0
answers143
viewsDelphi Datamatrix Static size
I am working with Data Matrix I am using the Unit Datamatrixbarcode, dmtx. var options:DatamatrixEncodeOptions; options := InitializeDatamatrixEncodeOptions; options.moduleSize := 4;…
-
0
votes1
answer105
viewsHow to add a value to DBF
To read the file . DBF works as follows: I use a Tadoconnection, being the Connectionstring for: Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;Dbq=C:\_workspace\projects\DBFEditor\temp To…
-
0
votes1
answer418
viewsDelphi/Sendgrid integration
I’m trying to integrate a Delphi application with SendGrid. To configure the request I am using the RESTDebugger. I inform the Header Authorization="Bearer" + [minha chave] Content-Type =…
-
0
votes1
answer345
viewsHow to remove folders from a directory
I have a project in Delphi 2010 in which I use to compress and create backups Winrar, through the following code I can compress the following folder teste3: AFile := 'C:\teste1\teste2\teste3';…
-
0
votes1
answer175
viewsReplace Edit Text property. How?
I’m developing a component that’s descended from a TEdit. When calling the application the property Text of this component, I do not want to return what is effectively appearing in the Text…
-
0
votes1
answer469
viewsListbox with JSON data - Delphi mobile
I have that data JSON that returns from a webservice query: [{ "id":"1", "usuario":"teste", "senha":"teste", "chave":"d59876jh", "email":"prestoexpress@live.com" }] I need to populate the Items of a…
-
0
votes1
answer258
viewsAfter resize form event
I have a project in delphi 2010 in which I am trying to create an event after resize. Is there any way to create the event in a project form? The goal would be to execute a code only after resizing…
-
0
votes1
answer1113
viewsHow to open a URL by passing hidden parameter?
Need, via Delphi, to open a Url/Site by passing a hidden parameter (not shown in the Url). I tried to Shellexecute: ShellExecute(Handle, 'Open',…
delphiasked 8 years, 3 months ago felipearon 715 -
0
votes1
answer153
viewsHas "Pure virtual Function called" error occurred using Delphi 2009? How to resolve?
Whenever I am debugging a console application by Delphi 2009 (using the "Attach to Process" feature) an error message appears in the IDE saying "Pure virtual Function called". When I click on the OK…
-
0
votes0
answers875
viewsXML Delphi - Mismatch in datapacket
I am evaluating a system made in Delphi 6, which basically uses a Tclientdataset to open xml files. This system already works for a long time and is Ok, only one xml file is indicating the error of…
-
0
votes0
answers228
viewsWhy is the timestamp field in the Firebird database displayed differently in a Ruby on Rails application?
I have a database Firebird 2.5 legacy. Access it via IBExpert 2016.9.4.1 This database is part of a request management system that is being migrated from an application Delphi 10.1 Update 2 for an…
-
0
votes0
answers69
viewsGet image ID/object Inserted in a Tcxrichedit
Is there any way to get the ID of an image or object inserted in a Richedit? I tried to: IDRichEdit[I]:=RichEdit.Lines.Objects[I].GetHashCode; But gives Accessviolation. Update: The image/object has…
-
0
votes1
answer87
viewsSet font color in cell in Broffice
I export data from a report to an electronic spreadsheet, depending on what the user has installed on the machine, to Excel or for the BrOffice. My question is when coloring the source of a cell in…
-
0
votes1
answer1209
viewsAdd repeated parameter to Delphi’s Delphi component
Good afternoon. I am developing a class in Delphi, using the Boleto Cloud API. The class is now ready and functional, issuing billets and generating shipment. This class consists of the REST Delphi…
-
0
votes0
answers82
viewsSafearrayputelement Delphi
I have a bit of a problem. I have a DLL in C# with some props that are arrays string[] teste; e Gero a TLB. When importing to Delphi 2007 the TLB. The "test" array goes as PSafeArray. How do I…
delphiasked 8 years, 2 months ago Rodrigo Ataíde 1 -
0
votes1
answer1531
viewsProblems printing Fastreport
I’m having trouble printing reports with Fastreport in Delphi 2010. When printing on the printer the first time, print correctly, but the second time I try to print the report does not print…
-
0
votes2
answers2456
viewsDownload events Onkeydown and Onexit
I have the following code at the events: Onexit: procedure TFEqt_Pallet.EdNr_PalletExit(Sender: TObject); var MeuKey: word; begin MeuKey := 13; EdNr_PalletKeyDown(EdNr_Pallet,MeuKey,[]); end;…
-
0
votes0
answers86
viewsIs the Delphi binary to . txt conversion process very complex?
In a project I intend to create a tool that would automatically make a "translation" of a. dfm file from Delphi to a Winforms C#. The problem is, DFM editors do not always save files as readable…
-
0
votes0
answers97
viewsClass Tdbtext not found
Good morning, my friends. I am having problems with a program, because every time I start one of the options, it returns me an error of "Class Tdbtext not found', and the package that contains this…
-
0
votes1
answer692
viewsSet up Delphi 10.1 Berlin Starter for Android and iOS development
I got an internship for the developer and once I received the news that Via passed the tests, I was also warned that the project in which I would be allocated will be a new mobile system from a…
-
0
votes1
answer950
viewsDelphi Berlin JEDI Component Installation Error (10.1)
I am trying to install the JEDI components in Delphi Berlin 10.1 in my environment, however, I am getting a compilation error in bpl "Jvcore240". The installation of JCL usually happens, without any…
-
0
votes1
answer103
viewsGet the id of a Panel that is being created dynamically
I am creating several panel dynamically according to the number of entries in a database table and data: pnlBtn := TPanel.Create(Self); // Cria o um Panel pnlBtn.Parent := pnlMesas; // seta pnlMesa…
-
0
votes1
answer336
viewsError returning from get from Delphi to php
Upload the following get in php http://site.com.br/Autenticacao/index.php?conteudo={"Login":"otacio@mail.com","Senha":"123","Posicao":{"Latitude":"-18.8693459","Longitude":"-41.955664"}} And I get…
-
0
votes1
answer48
viewsInsert problem using adoconnection
We are making a migration from the Firebird system database to sql server and we put an adoconnection... we have a client table that makes a Join with the city table... the problem is that now when…
-
0
votes0
answers118
viewsZeos: Different type error in different databases
I have a system made in Delphi 7 that can be connected in both Mysql and Firebird.. I have a settings file where I inform the host, bank, user, password, port and protocol of Zeos that indicates the…
-
0
votes0
answers492
viewsHow to recover the id entered in the sqlserver database using Delphi datasnap
How to get the id that has just been inserted into the bank on the server side, use Delphi XE10.1 Sqlserver Bank and Firedac, I would like to take the id to use in the child table when it is master…
-
0
votes1
answer63
viewsFailure to enter data in the database by Radiogroup
I’m trying to save information in the bank through a Radiogroup, but instead of saving it in the column Status I hold the floor active he tries to find the column active. my form is like this: And…
-
0
votes2
answers1159
viewsAPI mercadolivre does not return JSON
When I glue the address https://api.mercadolibre.com/sites/MLB/categories in the browser I see that the restfull API of the free market returns the data in JSON format, but when accessing the same…
-
0
votes1
answer428
viewsApp hangs when giving create in Datamodule
I am creating an Android application in delphiXE7 and everything works until I will create dynamically the datamodule. Then it hangs and does not come back. procedure TForm1.Btn1Click(Sender:…