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
answer241
viewsReceive JSON string via Socket
I’m getting a stream with JSON strings and I’m showing on a Tmemo. It happens that I am not able to process the JSON correctly because not always comes the same amount of characters from the server.…
-
1
votes1
answer334
viewsDifficulties with Dll import C#
I’m having a hard time rewriting a method of a dll in C#, we bought a price checker from a manufacturer, in case it provides a dll and an example code in Delphi. This dll has some functions between…
-
1
votes1
answer610
viewsOverride user typed key
Num Edit Delphi normal want to undo the key the user typed. If it was at the event KeyPress, quiet, just attribute #0 for the variable key. But I am and accurate use the event KeyDown. In this event…
-
1
votes2
answers181
viewsPackage usage difference in Delphi/Lazarus and Java
I would like to know the difference of use of packages in projects Java for use of packages in projects Delphi/Lazarus? In the Java so I know it’s about separating the classes into folders that the…
-
1
votes0
answers658
viewsDelphi 7 - Inform A3 Certificate at Indy HTTP
Hello, I am trying and unsuccessfully so far to perform the integration with a web service, where I use the Indy HTTP component, updated to version 10 in Delphi 7 to access and make a GET using XML…
-
1
votes1
answer40
viewsHow to reference the object property created with `with Tedit.Create(Self)`?
How to reference the property of a purpose created with with TEdit.Create(Self), and the use of this will be used in another object that is also being created as with TSpeedButton.Create(Self)?…
-
1
votes1
answer101
viewsSelect printer when printing a Hiercubechart
I have the library Hiercube, of this library use a Hiercubechart. So far no problem. But when printing the chart using the command HierCubeChart.Print, I cannot allow the user to select the printer…
-
1
votes0
answers474
viewsRecovering reCAPTCHA in Delphi application
I have an application in Delphi that I recover from the Farm site reCAPTCHA (I’m not a robot) to be able to download the XML of the electronic invoice, but in some computers when I open the form the…
-
1
votes1
answer2445
viewsUse Tchromium to make a browser
I want to use the Tchromium to make a browser with Delphi. But I’m not getting access to any page with it. I’ve used the controls: Chromium1.Load('www.terra.com.br'); Also:…
-
1
votes0
answers104
viewsHow to Create a Temporary File on the Network
I wanted to know how to create a temporary file on the network. Every time the user logs in checks if the file already exists if yes the system creates another file with the different name. Every…
-
1
votes1
answer1774
viewsRemove components at runtime in Delphi with Android
When creating a Tbutton dynamically at runtime within a Tvertscrollbox. When I need to delete this button it does not disappear from the screen. This problem only occurs by running the application…
-
1
votes1
answer532
viewsPC Phone Integration
We make: StringConexao ="ATDT"+numeroTelefone+ #13#10; And we do WriteFile( hCommFile, PChar(StringConexao)[0], Length(s), NumberWritten, nil); And the magic is done! And the modem calls a number.…
delphiasked 7 years, 2 months ago Carlos Rocha 1 -
1
votes2
answers1981
viewsLocate for two fields
How to do a survey with Locate with two or more fields simultaneously? What are the drawbacks of doing this?
-
1
votes1
answer389
viewsAdd Richtext Delphi line
Good afternoon I have an application that text has to have Bold, Italic and underlined so I’m using a Trichtext. So far so good For the same work in printing I made Rtrlrichtext that gets the values…
-
1
votes0
answers108
viewsEditor for FPDF
I’m looking for an FPDF editor. Does anyone know any? Or some link that can take my page in PHP and turn into FPDF. I need to create more than 20 PHP reports for PDF. I know the question is generic,…
-
1
votes1
answer821
viewsHow to make an Edit not lose focus?
How to make for a TEdit, that is being accessed on Android, do not lose focus because of the virtual keyboard that arises the moment the focus goes to the TEdit?
-
1
votes0
answers1737
viewsWhat is the correct way to interrupt a thread in Delphi
I am creating a thread with the basic information and structure as indicated below. Apparently everything is working well, but I noticed that when executing the Terminate, thread does not pass…
-
1
votes1
answer795
viewsHow to call function in procedure
function TForm1.VerificaExistenciaDoProcesso(NomeProcesso: String): Boolean; var Continue: Boolean; FSnapshotHandle: THandle; FProcessEntry32: TProcessEntry32; begin Result := False; FSnapshotHandle…
delphiasked 7 years ago ANY DINAMITE 13 -
1
votes1
answer190
viewsVery Crazy Error in Postgresql X Fastreport Registry
I have several tables that do Masterdetail among themselves, I will not put the structure here because it is very complex, are 26 tables involved. The error is as follows: in a table there is a…
-
1
votes1
answer684
viewsDelphi Seattle 10 popular a listview with image coming from url - Mobile
I am developing a mobile system (Android and IOS) with Delphi Seattle 10 and came across the following problem: I need to popular a listview and for that, I receive the data via Json through a Rest…
-
1
votes1
answer4217
viewsSave and Use images in database ( Delphi and Mysql)
Hello, I would like to know how to record images (.jpg, .png, .bmp, etc) in the Mysql database, using Delphi XE6. I would like to use Tdbimage, if possible, to display the images already saved in…
-
1
votes2
answers81
viewsProblem when computing average of a grid with empty numbers
I have a Stringgrid1 that I fill in the data and from that I calculate the total and the average. In image 1, I demonstrate working correctly. However I may not want to put a number in one of the…
-
1
votes1
answer108
viewsHow to implement a Thread to allow cancellation of Stringgrid fill in Delphi?
I load spreadsheets in a Stringgrid and then insert them in the bank, wanted a thread to allow to cancel this import, that is to cancel the completion of stringGrid, the button is "Inclicavel" as…
-
1
votes2
answers206
viewsSet Actionlist Enabled Property to True
I store in a table the name of my actions, and dynamically through a query, I return them on screen, as follows: declare a variable of type: MinhaACL : TAction; Begin MinhaACL :=…
-
1
votes2
answers838
viewsDelphi herring values
I have the following problem: | Result | 10 / 0,9280 = | 10,77 | 10 / 0,8740 = | 11,44 | 214,35 / 0,9280 = | 230,98 | Note: This information is recorded on the rounded server, like the example. Now…
-
1
votes2
answers71
viewsHow to control version number on budget?
I’m racking my brain here to get to a common denominator, I have a system in Delphi with Postgresql, this system has a budget session I need to control the changes made in these budgets by placing…
-
1
votes2
answers448
viewsHide component in first record (Dbctrlgrid)
Num TDBCtrlGrid I want to hide a component, actually a TPanel only in the first record of dataset. I tried at the event DBCtrlGrid1PaintPanel checking when the Index = 0 but when for example the…
-
1
votes1
answer65
viewsdblookupcombobox delhpi 7
I have a problem, I put this combo, I made the link with the table everything straight it brings the list of cities, anyway, ta rodado uma blz. I was wondering if there’s a way to put an extra…
-
1
votes1
answer276
viewsUX interface in Delphi
I work as UX designer, now I have to develop a good interface for the system in Delphi of the company. I can make animations and changes, like I did on the web?
-
1
votes1
answer263
viewsHTML link in Richedit
It would be possible to have a hyperlink in a word or phrase in a RichEdit, while hovering over this link the cursor looks like crHandPoint and by clicking, evidently open the browser with a…
-
1
votes2
answers131
viewsHow to destroy activex component that is generating Delphi error?
I am using an Adobe PDF Activex component (Tacropdf), it works well, it happens that when closing the form with the proper Release lines; Freeandnil(Tform); in Onclose, it still generates an error…
-
1
votes1
answer893
viewsClientdataset.Disablecontrols is safe?
In a simple routine to feed a Clientdataset, first execute the command ClientDataSet.DisableControls (before the try) and at the end of while (in the finally), execute the command…
-
1
votes1
answer201
viewsDelphi module for Apache 32 bit error
I’m using Apache to upload a Rest server made in Delphi, when I use the module in Delphi in the 32-bit version, I put it in the modules folder of Apache and the run simply gives error and does not…
-
1
votes2
answers1398
viewsHow to change the background color of a Listview list item in Delphi 10
In Delphi 10 with Firemonkey, at runtime I need that when clicking on a list item of a Tlistview, the background color of this item be changed and remain so even if I click on another item. Then,…
-
1
votes0
answers120
viewsWhy this error in Postgresql if I am not using SSL?
Why am I getting this mistake: SSL SYSCALL error: EOF Detected Connection is via local network via Delphi Application -> Posgtresql I use the ZEOS component for connection…
-
1
votes0
answers134
viewsProblem with Firebird database path
When I have a way for ex: C:\Programa\bd.fdb and try to pass to the system, windows does not recognize the bank. Now when I have a path as follows: 192.168.1.1\C:\Programa\bd.fdb the database is…
-
1
votes1
answer65
viewsWindows Features With DELPHI
I would like to know how to make my program have these options: Uninstall and Change Equal Options Shown in Image. In Delphi…
-
1
votes0
answers69
viewsCapture / Intercept Hook on Windows with [DELPHI]
First of all I know how the Hooks works in Windows, but in practice I’m kind of layman, I wonder if it has how to Capture / Intercept Hooks in Windows between applications. And if anyone has any…
-
1
votes1
answer763
viewsAccountant in Fastreport sums more than once, how to solve?
I have a very complex report in fastreport on a certain page the structure is a Masterdata -> Detaildata and within this Detail have the required components, Everything works 100%, it happens…
-
1
votes1
answer148
viewsOpen file . pas by explorer in win10
I use Delphi 7 and after switching from windows 7 to windows 10 (Enterprise), I am no longer able to open files of the type .pas directly from the Explorer. When I double-click the file .pas a new…
-
1
votes1
answer191
viewsHow to search using regular expression in Delphi 7
In Delphi 7 when opening the search dialog box: CTRL+F and selecting the option: Regular Expressions would like to find everything that starts with the word Gpfield and ended with Isnull For…
-
1
votes1
answer800
viewsCombobox in firemonkey without using Fdquery
I have a states combobox in my register, where I connect via livebindings with an Fdmemtable to save the data in the database. How could I get the index item of the selected item in the combo? The…
-
1
votes1
answer82
viewsTreeview Delphi with BD link
I have created a Treeview with the data that is in a table in the BD, and has a field that contains the name in the form. How To Give One ShowModal at the event OnClick of Treeview taking the name…
-
1
votes2
answers518
viewsResearch Tmemo Delphi
Good afternoon to you all! I am doing full name search on a Tmemo with Delphi, when the whole name is on the same line works well, but if part of the name is on one line and the other part on the…
-
1
votes2
answers555
viewsDelphi - How to assign data in a multidimensional array in a single command?
I’m trying to do this but it’s not working: Var MyArray: array[1..3] of array[1..3] of Ttime; Begin MyArray:=( ( StrToTime('08:25'), StrToTime('08:25'), StrToTime('08:50') ), ( StrToTime('09:25'),…
delphiasked 6 years, 7 months ago José Diomar Carvalho 11 -
1
votes3
answers887
viewsCreate DELPHI Component at Runtime
texto := 'object DWResponseTranslator1: TDWResponseTranslator ' + 'ElementAutoReadRootIndex = True'+ 'ElementRootBaseIndex = -1'+ 'RequestOpen = rtGet'+ 'RequestInsert = rtPost'+ 'RequestEdit =…
delphiasked 6 years, 7 months ago Aparecido Silva 113 -
1
votes0
answers198
viewsFastreport going crazy with numeric string
I really like Fastreport for the numerous layout options we can do on it, but I confess that sometimes it gets on my nerves and if I could trade. I am inserting the following string into a Memo…
-
1
votes1
answer109
viewsdevexpress component for storing Edit
Does anyone know which devexpress (Delphi) component makes you memorize text edited in the application’s Edit(s) ? example: I have a Tedit, with a user name, after typing for the first time, when…
-
1
votes1
answer214
viewsHow to use Delphi pointers?
I have the following code snippet: if TMenuItem(fmPrincipal.FindComponent('teste')) <> nil then if TMenuItem(fmPrincipal.FindComponent('teste')).Visible then ... I’m looking for a menu item…
-
1
votes1
answer541
viewsIs there a way to change the field type of a query in Delphi without having to exclude and include?
I have the following situation, I use Postgresql and Zeos in Delphixe, I needed to update the component to better support LATIN1 x UTF-8, now I can work with every type of character, blz. But…