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
answer114
viewsStay proceedings
I’m trying to suspend a lawsuit from windows for Delphi, but without success, I am using the following code: function SuspendProcess(pid:dword):boolean; // Suspende processo pelo PID var…
-
1
votes1
answer121
viewsHow to log into the system
I’m new to Delphi and noticed that there is no use of variables as a date readers in this language as in VB. I am making a procedure to log into the system. The connection to the bank is already…
-
1
votes1
answer778
viewsView the Form of a DLL in Delphi DX10
I have the following situation: I have a project, which calls a DLL and this has a form. Until that moment 'OK', performs the call and displays the form, only one thing that bothers me visually is…
-
1
votes1
answer765
viewsModify URL for REST requests
I have a service running in Delphi in DataSnap REST, to access any function of REST via link would look like this: servidor:porta/datasnap/rest/classmethods/funcao/parametros I needed to change the…
-
1
votes0
answers58
viewsDelphi Xe with Tcomport
I am making an application in Delphi using Tcomport by serial with rfid reader, tcomport reads the tags and plays it into component. I wanted to know if there is a way to direct link ex; tcom to…
delphiasked 8 years, 3 months ago Anderson Chaves 11 -
1
votes1
answer79
viewsHow to set a page size with Ravereport
I have a project in Delphi 2010 in which I use Ravereport to make PDF reports, my question and the following and possible to define the size Width Heigth from the PDF page. I tried it but it makes a…
-
1
votes1
answer531
viewsSerial port reading in xe8
Which component do I use in Delphi xe8 to read the COM port, I’ve seen that in Delphi 7 has the tcomport wanted to know what it would be for?
delphiasked 8 years, 3 months ago Maurício Souza 11 -
1
votes2
answers650
viewsHow to return Datasnap Server image and show in browser
I developed an application made in Web Service REST, where the data is consumed at each client request, everything works perfectly, I created the Web Service REST from the DataSnap REST Application,…
-
1
votes0
answers217
viewsDelphi Chromium flash player
I’m mounting a simple browser with Chromium, but when I open a flash site it asks to install the flash plugin, I wonder if there is any way to load the flash not to need to install on the computer,…
-
1
votes0
answers402
viewsLivebindings Delphi Berlin - Locking
I migrated my app to firemonkey that was rotating in the Delphi-xe8 to the Delphi Berlin, everything works perfectly, only when I visualize the Bindings designer and select some query or listview…
-
1
votes1
answer81
viewsDisplay current page number in dbChart
I have a dbChart displaying data on multiple pages. In a specific graph, for example, there are thirty points to display, but in the property MaxPointsPerPage set only 10 (ten) points per page. I…
-
1
votes0
answers96
viewstime zone error indy10 Delphi
I have a screen that sends emails using Indy10 but it sends with the wrong time zone. He is sending the email always 2 hours late, IE, if I send at 17:00 he marks in the email as sent at 15:00. I…
-
1
votes1
answer556
viewsHow to Change the Port on Datasnap Server by INI File
I’m trying to set up a file INI to be open to the customer, to be able to connect to the service by the port determined by the same. With no problems, change in design mode, compile the executed…
delphiasked 8 years, 2 months ago Jefferson Rudolf 1,139 -
1
votes2
answers532
viewsEncrypted password check
I’m having a hard time logging in Delphi with encrypted password at the bank MySQL, I can do the registration and encrypt the password in the database through Delphi with the StoredProcedure that I…
-
1
votes2
answers365
viewsConvert Header C/C++ to Delphi
The intention is to consume a dll of biometrics http://www.veridisbiometrics.com/index.php/produtos/biometric-sdk-free I thought the best way would be to convert the headers they provide (not a good…
-
1
votes2
answers943
viewsAdding Hours greater 24 h
The sql statement returns me the time type hours: | Horas | |20:52:00| |12:42:00| |09:00:00| |07:45:00| I would like to add the total hours, but that way he is "zeroing" when it reaches 24 hours.…
-
1
votes0
answers628
viewsHow to get back a POST sent by the Customer (Datasnap REST)
I have a Webservice Server REST developed by the IDE Embarcadero Delphi XE7, I need to take the return of POST customer’s. I created Webservice from the Datasnap REST Application, when creating the…
-
1
votes1
answer342
viewsSqlite filter as date return error with strftime function
Hello I have the error in the following code SELECT L.*, C.DESCRICAO AS CATEGORIA , CASE WHEN L.TIPO_LANCAMENTOS = 'C' THEN 0 ELSE 1 END AS ICONE FROM LANCAMENTOS L JOIN CATEGORIAS C ON(C.CODIGO =…
-
1
votes2
answers431
viewsCreate Login screen at runtime
How to create within a ShowMessage or ShowModal a message where the user would have to enter the code and password, when leaving this ShowMessage I can get this information (code and password) to…
-
1
votes0
answers449
viewsHow to get the result of a precedent that is in the datasnap server
needing a little help here I have this function on the datasnap server //query that is in fqy_SaldoRs is "PRC_SALDO_MOTOQUEIRO :pMoto" which is nothing more than a query that takes an integer type…
-
1
votes2
answers1153
viewsLeft Join with multiple fields from the same table
To build a lease, I have two tables. The first is the contract, has some relationship fields as id_locador, id_locatario, id_fiador1, id_fiador2, among others. These fields are related to a table of…
-
1
votes3
answers810
viewsMultiple lines on a Showmessage in Delphi
I need to trigger an error message if the user tries to enter invalid codes in a temporary table on grid. The codes come from a .txt. The codes fired on the monitor are ok but the message is…
-
1
votes1
answer418
viewsFrame Replication [Error: Component already exists]
I have a form in Delphi and I wanted to have a pre-created frame added dynamically several times by clicking a button. I’m trying through this code: procedure TMain.Button1Click(Sender: TObject);…
-
1
votes1
answer601
viewsHow to synchronize auto increment keys between different databases in Firedac?
I am researching how the auto increment fields work in Firedac, using Delphi xE7 and managed to assemble an example of the documentation that synchronizes two master-details tables with the correct…
-
1
votes1
answer910
viewsRun application through Delphi service with administrator rights
I need to run an application through service on delphi with high administrator rights. I have tried several solutions found here, such as RunAsAdminAndWaitForCompletion(filename, Parameters: string;…
-
1
votes1
answer280
viewsDbgrid fields have Duplicate Text
I’m gonna put on the picture first to see if any of you know how to fix this. As you can see when the line is selected the testo is duplicated and prevents the visualization of information. I am…
-
1
votes1
answer111
viewsError saving data from a Radiogroup
I’m having a problem saving the information I select in one RadioGroup in the database, after making the change that was suggested in this question the error of trying to add something in the column…
-
1
votes1
answer40
viewsError changing old database data
With the help of this reply I was able to edit the data I enter in the database, but the old data that is already registered, when I try to change the registration, the program continues to close…
-
1
votes1
answer1537
viewsHow to change the Content-Type Response in Datasnap REST
I have a project made from the WebBroker REST, running as a service, I need to change the Cotent-Type for 'application/json' and by default the WebBroker REST brings me as a result of Content-Type…
-
1
votes1
answer622
viewsDblookupcombobox listfieldindex Setting the index the combobox comes empty
I have a problem with Dblookupcombobox, even setting the value of listfieldindex , he is not bringing the item to the combobox cbcPais.ListIndex := 1;
-
1
votes0
answers201
viewsIs it possible to install a windows service from a DLL? (Delphi)
I have a dll that has methods that should be run on a windows service. I did a search and saw that to install a service, I would need an executable. I own the 2007 version of Delphi and Windows 7.…
-
1
votes0
answers105
viewsConfirm Inputquery with only one Enter
I’m using a Inputquery to enable the user to have quick access to other parts of the system. The problem is that the process is to give agility and press twice the key Enter goes against the…
-
1
votes1
answer338
viewsPrinter Driver is not been specified
I am using tsclib.dll to print labels on Bematech LB-1000. In the openport() Procedure it already gives the error Printer Driver is not been specified. The printer is local, USB port and I am…
-
1
votes2
answers2645
viewsMultiple transactions with Firedac?
I would like to work with multiple simultaneous transactions on Firedac, making decisions (rollbacks and commits) different for each one. Is it possible? Currently, I work as follows: try…
-
1
votes1
answer2173
viewsHow to list files from an android firemonkey folder?
I have to create a way for the user to search for a backup generated by my system between the folders of the device, so I thought of loading the folders in a listview as it is clicked would enter…
-
1
votes3
answers347
viewsForm Inheritance created in Runtime
Follow the code below: type TfObject = class(TForm) private procedure FormShow(Sender : TObject); procedure FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); procedure…
-
1
votes3
answers2481
viewsFind a component by name
I have a string: var vMinhastring : string; begin vMinhastring := 'Edit1'; In my form I have a Tedit Compomente with the name Edit1. How I pass some value to my Edit1, using vMinhastring as the…
-
1
votes0
answers123
viewsDelphi Encrypt Function Conversion for Javascript
I’m having a problem converting this function, I wish someone would help me Code in Delphi function EnCripta(const InString:string; StartKey,MultKey,AddKey:Integer): string; var I : Byte; begin…
-
1
votes1
answer1410
viewsInvalid Pointer Operation - Delphi
I added a Tclientdataset(cdsTemp) to my Form screen, well, and I implement the Fields of that Tclientdataset(cdsTemp) via code, that way: for i := 0 to (cdsAux.Fields.Count - 1) do…
-
1
votes4
answers2460
viewsHow to check for changes in a Clientdataset
Use Delphi XE7, I need to check if you had insertion/editing in ClientDataSet before closing a certain screen, but I may close the screen and it is no longer in the insertion/editing state and still…
delphiasked 7 years, 10 months ago Jefferson Rudolf 1,139 -
1
votes3
answers2828
viewsHow to change the color of a Text from a Listview?
I need my Listview to identify the values of a Text item, for example: , "Complete"/"Pending" and make each one a different color within Listview. I tried to format by code, but I could not, I saw…
-
1
votes0
answers245
viewsHow to receive System.Generics.Collections.Tlist in a Tlist?
I have a problem trying to get Tlist from a Generics.Collections.Tlist. Gives the following error: [dcc32 Error] Unit1.pas(101): E2010 Incompatible types: 'TExame' and…
-
1
votes1
answer1663
viewsChecklist Box Delphi how to get the Item String checked
I’m having a problem with how to get the Checklistbox string that is selected. how can I solve the problem var setores : array of string for I := 0 to auditoriaDeEPIFrm.lckCheck.Items.Count - 1 do…
delphiasked 7 years, 10 months ago rodrigo.oliveira 1,251 -
1
votes0
answers68
viewsError with Variant parameter when used attributes
Good night! I have a problem with using attributes in Delphi, I have the following constructor: constructor Create(Value: Variant; Operacoes: TCompare; Referencia: TReferenceCompare; Origem: String;…
delphiasked 7 years, 10 months ago Bruno Deuner 11 -
1
votes0
answers402
viewsHow to stop the Windows service when running the installer and start right after installation via Inno Setup
I’m using the Inno Setup to create an installer, this installer contains an application and windows service, I’ve already set up on Inno Setup to replace existing files while installing again. But…
-
1
votes1
answer352
viewsReturn values to Dynamic Forms in Delphi
I intend to create an unlimited number of instances of frmPai (MDI) that is created dynamically as follows: class procedure TfrmPai.ShowForm; var frmPai: TfrmPai; begin frmPai :=…
-
1
votes0
answers1026
viewsAppclash (KERNELBASE.DLL) Error when DLL in Delphi tries to show message in Delphi application
I have a DLL made in Delphi XE7 that is called by Delphi application also in XE7 version. This DLL does not need to be registered in Windows. That when missing some information or when entering a…
-
1
votes1
answer1591
viewsHow to assign an image to a Listview Item?
How do I assign an Image to a Listview Item? I want to place an image according to the status of the process. Initially only get by making statusbar with external components, but I can not use…
-
1
votes0
answers2253
viewsAntivirus blocking access to camera
I’m having trouble accessing the Webcam through Delphi, so I searched the internet for some components and found the following that I leave on the link below: Directx Delphi Webcam Capture Example…
-
1
votes1
answer653
viewsProblem with Delphi 10.1 + Firedac (Autopost)
I have a Procedure simple to save in database. In it I also made a control cases the mandatory fields are not filled in making the system avoid recording wrong data or missing information. However…