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
votes1
answer843
viewsDelphi picking value from the field created at runtime
Create at runtime various Tradiogroup: Rdb1:= TRadioGroup.Create(Painel); But with the same name "Rdb1". My doubt is how I get the value of the field that was selected. I tried to do so: Rdb1.OnExit…
-
0
votes2
answers78
viewsFailed to make a database change
When I’m gonna make a Update on the table Impressora my program is closing itself, while debugging the program the following error has been accused: My Update is this way: begin if…
-
0
votes0
answers122
viewscapture and use an object in the app from a dll (all in Delphi)
I have an exe in Delphi and I use a dll also in Delphi. In exe I have a tdatabase for connection to a bank, and in dll I would like to capture and use this component without creating a new tdatabase…
delphiasked 7 years, 8 months ago Genesio Mendonça 1 -
0
votes1
answer1418
viewsApplication developed in Delphi XE8 closes on execution
The application was developed for the version 4.4.2 of Android, and when I open this app on Android 6.0, it opens but closes right away. What can it be?…
-
0
votes1
answer1433
viewsHow to move firemonkey android files?
I need to move a file from the system folder to another folder. I have one BD inside the system folder, I want to generate a backup, for that I want to copy the BD.db3 to another folder and then…
-
0
votes3
answers3378
viewsHow to generate firemonkey android PDF report?
I need to generate a PDF report on firemonkey android, I would like component suggestions or ways to do it.
-
0
votes1
answer1016
viewsProblem running android app on Delphi
When trying to run an app in Delphi: [Paclient Error] Error: E2312 E: Firemonkey-Mapview-master Android Release Jsonmaps Androidmanifest.xml:39: error: Error Parsing XML: not well-Formed (invalid…
-
0
votes2
answers304
viewsHow to automatically select the first item of a popup menu
I have a screen where a popup key is opened through enter as a hotkey. My problem is that I can’t get the first option to be preselected to be activated with a Enter. Summarizing: I would like when…
delphiasked 7 years, 8 months ago Benjamim Mendes Junior 1,017 -
0
votes0
answers88
viewsRTTI not returning function in getMethods
I have the following class TClasse = class public Funcao: function(arg: String): Integer; stdcall; end; What happens is that when using RTTI in this class to return the "Function" function, it does…
-
0
votes1
answer253
viewsMaster detail table, totalizing fields
I am doing a service order control where in a service order several users will register products and labor, so I have three tables: - Order of service (master) - Products (detail) - Manpower…
-
0
votes2
answers963
viewsPass Ifddatasetreference (Firedac) to Clientdataset.Data
I have a Query of Firedac (Fdquery) and want to pass its result to a Clientdataset. Since Firedac works with Ifddatasetreference and the Clientdataset work with Olevariant, of the compatibility…
-
0
votes1
answer874
viewsTdbgrid not updating data in Delphi
Good morning, I am making a system for a library and on the book search grid that when entering the book id in txtbox it updates and shows the results on the grid, but the grid is not updating and…
-
0
votes1
answer656
viewsDelphi - Datasnap authentication via AJAX
I am now starting to use authentication in Datasnap. I am trying to access the methods via AJAX and is returning error 401 - Unauthorized. My request is as follows: $.ajax({ username: login,…
-
0
votes1
answer113
viewsSecuring a Transaction
I have a table of Tags with sequential ID incremented in hand, because it Zera every day. I have a Tag registration screen where I pass the amount of tags to be generated: Vrg := Select MAX onde eu…
-
0
votes1
answer901
viewsBackup and Restore in Delphi with Sql Server how to do?
Hello I would like to know how I can do a Backup and Restore to integrate in my system. I have a code ready but is for Firebird I believe that does not fit to Sql Server. I read in some topics that…
-
0
votes0
answers637
viewsAPI KEY Google MAPS for my customers with application made in Delphi
I have created a computer application where the user can track their deliverers using the Google Maps API. The browser is the component Tchromium - to Delphi replacing the Twebbrowser. So far so…
-
0
votes1
answer565
viewsHow do I run the Menuiten.Click event in an if? Delphi loop
I’m putting together the login part of my system, only I’m facing a big problem. My cancel button from the login screen needs to receive two features. The first is that being clicked before the main…
-
0
votes1
answer655
viewsTdatetimepicker Windows 10 Update
After upgrading Windows 10 to version 15063.38 the fields TDateTimePicker have come to have an unpleasant look. As much as I select a date, it remains showing only the bars. However, in versions…
delphiasked 7 years, 6 months ago Pablo Tondolo de Vargas 5,444 -
0
votes1
answer1089
viewsHow to install Pngcomponents Delphi 10.1 Berlin
Hello I downloaded Pngcomponents on this link I tried to install it in the install Components of Delphi but it didn’t work, if someone could help me I would be very grateful. It is listed in…
delphiasked 7 years, 6 months ago André Luis Moreira 31 -
0
votes1
answer545
viewsHow to remove beep from windows application
I have an application developed in Delphi7, in some calls, windows emits that beep, and you’re filling the &!(&@. I wonder if there’s a way disable sound from windows from my application,…
-
0
votes0
answers52
viewsNF-e Delphi. Reception function
I have no experience in this area of Nfe. I was guided by the support as initial tests using the function: RecepcionarLoteRpsSincrono(const nfseCabeMsg: WideString; const nfseDadosMsg: WideString):…
-
0
votes0
answers38
viewsContent visualization at Delphi Seattle
I’m trying to solve a detail of a mobile project I have, which is developed in Delphi Seattle. I would like to know if there is the possibility of dynamically changing (by native component, paid or…
-
0
votes1
answer51
viewsDatabase Error
Every time I’m using the Delphi 6 and I go through some form linked to a database, when I run the program I compiled, it complains that the database is being used at the moment. When I close the IDE…
-
0
votes0
answers110
viewsRequest of xml Soap
Hello it will be possible to make this code another way in php and in Delphi if yes thanks help I don’t know if I should do so the requests I appreciate a tips Soap is not my strong $request = '…
-
0
votes2
answers788
viewsHow to create a dynamic table in Word via Delphi?
I have documents .doc/.docx, that I am doing the replacement of Tags, but now I need to create a dynamic table, based on a select, in these same files that I am replacing tags. This table must be…
-
0
votes1
answer152
viewsHow do I search a Virtualstringtree in Delphi without using Edit?
I have a VirtualStringTree with some items and I want to implement in it a resource similar to what a ComboBox possesses. It works like this: when pressing a certain letter, he must select the first…
-
0
votes1
answer214
viewsDblookupcombobox Doubt - Delphi 6
Good morning. I’m using Delphi 6 and I’m having a question, I have a table of students linked to a table of disciplines, and these disciplines are displayed within a Dblookupcombobox, only when I…
-
0
votes1
answer121
viewsCreate Graphs with Tsimplegraph
I need to create graphs in the interface of my program, the only solution I found was the Tsimplegraph. I tried running the program that comes in ZIP file, but gives error that is missing component…
-
0
votes1
answer93
viewsPgbouncer does not connect via service in windows
I installed pgbouncer as a service in windows 10 using: pgbouncer.exe --regservice <pgbouncer.ini> Placing the ini path and from the folder where the pgbouncer exe is. The service is installed…
-
0
votes1
answer152
viewsIntermittent Error (could not obtain Ole control window Handle) Delphi
Good morning, I have an application that runs on 8,000 machines, however, I’m having an error in a small portion (average of 100) every day. I get msg (could not obtain Ole control window Handle)…
delphiasked 7 years, 4 months ago Rodrigo Dias 1 -
0
votes1
answer1380
viewsCopy(Text,1,up to white space)
I have a text (456/2017 1.1 Meet the Countries) and sometimes I have (45/17 1.1 .....) how do I pick up with the copy(Text,1,blank)?
-
0
votes0
answers150
viewsDbgrid with following error out of memory
I have the following Dbgrid error. out of memory - dbgrid This error is giving only on Windows XP.
-
0
votes1
answer736
viewsRadiogroup select item through a string
I have a radioGroup with the items: 0 : bola 1 : futebol 2 : gol 3 : chuteira 4: jogador How to select the Index by the value recorded in the bank which is "ball, football...".…
delphiasked 7 years, 4 months ago Tiago Casanova 778 -
0
votes2
answers162
viewsLazarus Comparing Dates
In the data collector I can configure the format of Data, but I want to make this configuration within my application, I am trying to do as follows: FormatSettings.ShortDateFormat := 'dd-mm-yy';…
-
0
votes1
answer43
viewsBest Language/Library for manipulating impressions
Here in the company I work, we have a system in Clipper+PCL that makes the monthly impressions, with it we manage tray and control front and back. However it is becoming more difficult to maintain…
-
0
votes1
answer513
viewsFiremonkey file sharing
I’m new to firemonkey and I believe my question is simple. I have an sqlite table with some information and I exported this data to a txt. Now I want to email this txt. How do I share this file on…
-
0
votes1
answer49
viewsSerialization Mormot Object with Arraydinamico
type TRecordInstructions = record TextInstructions : RawUTF8; end; TArrayInstructions = array of TRecordInstructions; type TDoctoVO = class private p_customer : Integer; p_messages : RawUTF8;…
-
0
votes1
answer3571
viewsReceive a Base64 string via JSON and display in a Timage DELPHI
I am receiving a JSON object, which inside it has a photo converted into Base64. I need to load this string into a Timage in Delphi. Pick up the string I managed using the superobject class, but…
-
0
votes1
answer256
viewsUser authentication service for desktop applications?
I’m developing a desktop application in Delphi, but I don’t intend to build the part that controls user access by not knowing this part very well and limited time. would like to use an online…
-
0
votes1
answer962
viewsDelphi Datasnap Callback - Warn the Client about something
I am now starting to implement in Datasnap. I searched a lot but I did not find solution, perhaps for my inexperience, I am missing something very simple. I need to find a way to send a message to…
-
0
votes1
answer29
viewsAccess Violation with Finddragtarget
I need to detect what kind of component the user clicked. For this I am using the following check, every time the left mouse button is clicked: if FindDragTarget(Mouse.CursorPos, True).ClassType =…
-
0
votes1
answer483
viewsUsing Tdbcombobox compounding
I have the following problem, when I select an item in Tdbcombobox when leaving the component it automatically selects the last record. DM_BancoInsumos.IBQCons_ForneInsumos.Close;…
-
0
votes1
answer495
viewsFast Reports tools do not appear in the Palette tool
I am using Delphi-XE8 in a project that requires the creation of forms from DB data (Firedac), before my team used the version of Delphi-XE4, which made use of the external component Rave Reports of…
-
0
votes1
answer328
viewsHow to get the mysql table id by a combobox
My question is I have a combobox in the application and this combobox is filled with data coming from mysql database so far so good. I launch the data in a Datasource to feed the combobox but when…
-
0
votes1
answer142
viewsUse of this in Delphi
So as there is this in Javascript, what is the equivalent in Delphi? And how would I use it? I want to replace the 'Unibuttonx' of each procedure with a 'this' equivalent to the button clicked.…
delphiasked 7 years, 1 month ago user75204 -
0
votes1
answer1110
viewsHow do I adjust the size of items in a Tlistview
I’d like to ask you for help about a difficulty I’m facing. The TListView is with the configuration of Appearance as DynamicAppearance. I would like to break from the products that have additional,…
-
0
votes1
answer256
viewsService Application Delphi
How to mount a function within the service application calling a .exe? I’ve tried everything winExec, Shellexecute, up to creatProcess but it’s not working, someone has knowledge in the area to help…
-
0
votes1
answer276
viewsDatasnap with Firedac
In an application with Datasnap, I used Sqlconnection: procedure TForm1.Button1Click(Sender: TObject); var ConectaServidor : TUClasseServidorClient; begin ConectaServidor :=…
-
0
votes1
answer235
viewsAdd values to cells in Stringgrid
I would like that when I click on a cell of StringGrid I could add a number and press to the side it was jumping from cell to cell, much like the excel, it is possible to do this with this…
-
0
votes2
answers502
viewsDynamic component name Delphi
In jQuery we can make reference to an element of the form below: var tipo = "B"; $("#campoTipo"+tipo).val("Teste"); which would be the same as: $("#campoTipoB").val("Teste"); I need in Delphi,…
delphiasked 7 years, 1 month ago Ezequiel Tavares 351