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
-
3
votes1
answer681
viewsDLL active Delphi
I have a DLL and it is activated like this: Rundll32 MinhaDll.dll Starts after command, does the process and is terminated. I need it to continue in memory monitoring certain processes. The only way…
-
3
votes1
answer476
viewsCreate Priority Queues in Delphi XE5
I would like to know how to create rows of objects with priority in Delphi, we know that the concept of queue is what first comes out first, I know there is already this function ready in Delphi,…
-
3
votes1
answer834
viewsMobile application using IR emitter with Delphi XE5 or higher
I would like to know if there is the possibility of developing a mobile application in Delphi XE5 or higher, where it could send Infrared (IR) signal to any receiver, for example a TV.
-
3
votes2
answers873
viewsRun executable independent program
I am making a Updater, but at certain times, I need to update the executable, which is not possible since it is in use. You would have a way to swap the executables and run the program afterwards.…
-
3
votes1
answer372
viewsIdhttp grab file size downloaded
Well, I would like to know how to find the file size that is being downloaded with the Idhttp component.
-
3
votes1
answer1283
viewsAfter adding a package as a dependency on another project, reference problems persist
Having created a package and soon after referencing it as a dependency on a project, which is in the same group of projects, I have problems trying to use the references of unit contained in the…
-
3
votes2
answers2519
viewsThread containing connection components to the database generates an exception when they are released from memory
I needed to add some threads to carry out certain processes in the background. This thread accesses the methods of a Webservice and also performs operations in the database. I create all the objects…
-
3
votes2
answers371
viewsUses Unit - Out of memory
My class Tlog inherits from the Tbasemodel class: uses BaseModelo; TNFLog = class(TBaseModelo) ... end; But my Tbasemodel class needs to have a Tlog-type attribute: uses Log; TBaseModelo =…
delphiasked 9 years, 11 months ago felipearon 715 -
3
votes1
answer210
viewsError in created function
Well, I did a job, but it’s not working. The purpose of this function is to download a file and when finished, return true. This is the function: function TForm1.BaixarArquivo(Sender: TObject;…
-
3
votes1
answer117
viewsAutomating Inner Join using Lookupcombobox component
Sometimes I use the Tdblookupcombobox component to bring a list of a dataset lookup field, this approach streamlines some things but is very limited. For example I have a list of stores in one…
-
3
votes0
answers162
viewsAdd horizontal line in a Dbchart for a defined value of the y-axis
I have a chart DBChart with a series of values float on the axis y and datetime in the x. I wanted to add a horizontal line according to a defined axis value y. The DBChart has the function to add…
-
3
votes1
answer3525
viewsHow to send/receive data using Sendmessage or Postmessage API?
I need to send several data to another process, the detail and the two processes are dlls, and I have customized my message. The message I can send and receive but when trying to process the data…
-
3
votes1
answer242
viewsHow to recover data from a query made with "ADODB.Command" object?
Based on the code below, where I can retrieve the results from ADODB.Command? This union will always work with stored Procedure, and the types of parameters that will be used are of the input and…
-
3
votes1
answer2029
viewsHow to validate Dbgrid fields before saving?
I have a DBGrid, but I want it to validate the fields before saving to the database. I believe I have to use the event BeforePost but I have no idea how to do it. Someone could give me a hint?…
-
3
votes2
answers964
viewsHow to register Datasnap service classes in Runtime on Delphi XE7?
In the Delphi XE3 I was able to register my service classes by doing the following: type TRegisterServices = class class procedure RegisterServices(AOwner: TComponent; DSServer: TDSServer); private…
-
3
votes1
answer464
viewsNextval Postgres Delphi problem
I’m making an application, in which I need to increment a quence and check if that value has already been used in another table, because if it has already been I must ignore and generate a new value…
-
3
votes2
answers1874
viewsAssemble an image and video player in Delphi
I have a project for college and I don’t know how I can solve it. The idea is to make a video and image player together, so I can put the images and videos in the same playlist and each item can…
delphiasked 9 years, 6 months ago Renato Souza 43 -
3
votes0
answers2982
viewsUsing Tvideoimage to capture webcam image
I’m using the component TvideoImage to capture image through the webcam, however I’m in trouble, was created an application that allows you to take photos of customers for registration, the…
-
3
votes2
answers755
viewsHow to display letters from removable disk drives in Delphi?
Hello, I need to have a "Combobox" display the letter of the volumes of the pen drives that may eventually be connected to the computer, how can I do this?
-
3
votes1
answer153
viewsFilter text in Delphi
How to filter the 1 of "status":1, of the text below using Delphi: {"status":1,"data":"47281274","msg":"SUCESSO"} I tried some routines of StrReplace, but to no avail!…
delphiasked 9 years, 4 months ago Renato Souza 321 -
3
votes1
answer834
viewsApplyupdates on REST with Firedac
I’m doing a project that uses a REST server with Firedac. I use a Generic function to give my select but when I try to give my ApplyUpdates it does not give any error but the data is not reflected…
-
3
votes2
answers599
viewsSpecial characters in excel spreadsheet generated in Delphi
I found on the internet many codes related to generating EXCEL spreadsheets in DELPHI. Follow the code I am using: objExcel := CreateOleObject('Excel.Application'); objExcel.Visible := True;…
-
3
votes2
answers411
viewsExtract emails from a Memo
I have a component memo, within it there is a large text, and in that text it contains several scattered email addresses. How can I extract only the emails from this memo1 and play at memo2?…
-
3
votes1
answer294
viewsIs it possible to identify which open programs use BDE for connection? How do I?
I need to know, from a list of open programs that use BDE for database access, so I want to know if it’s possible and how do I. Att Luiz
-
3
votes1
answer41
viewsIs it possible to remove the bearing from a Twebbrowser?
It is possible to remove the vertical and horizontal bearing from a TWebBrowser? I searched several places of the internet, however, I did not find a valid answer, all the examples were false!…
delphiasked 9 years, 2 months ago Pascal Starting 711 -
3
votes2
answers3731
viewsLike killing lawsuits with Delphi?
I need to make an application in Delphi that finalizes processes through the image name, if this is possible tell me how.
-
3
votes2
answers730
viewsText Editor with RTF support
I need to find a text editor with RTF support. Goal: Write and format in html and save in RTF, then take RTF and edit in html. I searched the documentation of several publishers to see if there is…
-
3
votes3
answers7876
viewsRead XML with Xmldocument in Delphi
I have this xml, I don’t know how to read and get the values. Someone could help me? <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope…
-
3
votes1
answer3287
viewsColorize Listview Line Delphi Android
How to change the color of a Delphi listview line / Android ? To have the color changed as any condition is true: se a = 1 then listview.linha?.? := clBlue entao listview.linha?.? := clRed;…
-
3
votes3
answers766
viewsHow to convert a String to Tnotifyevent in Delphi?
I want to change the Ontimer event from a Ttimer in my project at runtime, I tried as follows: Timer1.OnTimer:= ('close'); But Delphi reports this: (E2010 Incompatible types: 'TNotifyEvent' and…
-
3
votes1
answer2578
viewsTcomport - Delphi Xe7
I need a component that can read serial port, I’m making an application integrating with Arduino. I saw that there is Tcomport, but I can not install in Delphi xe7, someone has already managed??…
-
3
votes1
answer556
viewsHow do I upload to an FTP site?
Hello, I have an FTP account on a domain, it is password protected but I need a Delphi application to upload files instead of Filezila and others. How can I upload files? I tried according to some…
-
3
votes1
answer332
viewsDelphi class with optional full-type field
The question is: how should I build my TPESSOA class so that the _id_city field can be null. Database Create Table PESSOA ( ID INTEGER NOT NULL, NOME VARCHAR(100) NOT NULL, ID_CIDADE INTEGER) No…
-
3
votes1
answer2531
viewsOpen Database in format . DB
I have a database in a file .DB from an old application designed in Delphi. My client wants to migrate the data to use in a new application, however the old client software was designed in Delphi,…
-
3
votes1
answer9927
viewsPost Idhttp com Delphi
I can do an HTML post quietly, but when I try to do it with Delphi, it presents me with this mistake: http/1.1 406 not acceptable Follow the code below: function TForm1.UploadArquivo(server, script,…
-
3
votes2
answers435
viewsConvert SQL syntax from Firebird database to Postgres database at runtime
I have a system developed in Delphi 7 already stable using the Firebird database, and some customers have requested that they can use Postgres as a database in the same system. As with some…
-
3
votes1
answer1522
viewsNotification Bar Take on app background color using Delphi
How to make the notification bar take on a preset color such as whattsup, gmail etc. Using the Delphi Firemonkey programming IDE. In my apps the slider always takes the color black, follow example.…
-
3
votes2
answers458
viewsFiredac: Getfieldnames without quotation marks
I’m recovering the table fields Firebird and Mysql for Firedac Connection via the command line GetFieldNames, however some fields of the list are returned with quotes. I have tried to insert the…
-
3
votes0
answers55
viewsLimiting a Webbrowser’s Band
I have in my form a Webbrowser that broadcasts a video of the site hitbox.tv I wanted to limit how much band would be available to Webbrowser
-
3
votes1
answer1080
viewsHow to remove all references from deleted acestras forms from the parent form?
I have my generic form and I have several others who have visually inherited its components. When I delete a component in the form father and open a heir get that message: I can click OK and confirm…
-
3
votes2
answers439
viewsWhy Delphi/pascal builders cannot be private like in C++
Is there any reason why I can’t leave a Delphi constructor as private?
-
3
votes2
answers468
viewsRegular expression to replace src attribute contents of html <img> tag
Hello, I don’t understand almost anything about regular expression, so I wanted you to help me with an expression to replace only what is in double quotes in the src attribute of the html tag, that…
-
3
votes1
answer395
viewsHow to get the size of an external window
In my case I have an application that runs parallel to a third party application which I don’t have access to the source, I need my program to capture the size of this window to display a form of…
-
3
votes0
answers339
viewsSave Email Outbox
I wonder if it is possible to save an email in the default email manager output box (Outlook, live mail, among others) using Indy10. Today I already have a function to send email, but calls the…
-
3
votes1
answer373
viewsHow to concatenate two lists efficiently?
Aiming at the union represented by the figure: In view of the structure below: TMyRecord = record Index: Int64; Kind: TMyEnum; Value: String; end Having two lists…
-
3
votes2
answers390
viewsDelphi Triangle - Canvas
I want to draw a triangle in Delphi through the Canvas. This pointer will serve as a pointer to a Gauge (Speedometer) as in this example: I use the TPoint() to define where the pointer will point. I…
-
3
votes1
answer59
viewsHow to get version of my application?
I need a way to get the version of my app on C++ Builder, to put in the Caption of a TLabel, which will be displayed next to a system presentation home screen.…
-
3
votes1
answer391
viewsDoubt with Thread
I have a form where I have a Thread to update some images, calling her using a timer interval 19000, but it’s generating me the following ERROR only when called by timer. Project Sistemaa.exe Raised…
-
3
votes2
answers1153
viewsAdd a bmp or jpg figure to a canvas in Delphi
It is possible to insert, via programming, a jpg or bmp image on a canvas? I am using the canvas in a Tbitmap at programming time because my application has no screen. It is called, creates the…
-
3
votes2
answers1301
viewsSize difference (Release/Debug)
In Delphi there is Build Configurations (Release and Debug), choosing the Release the size of the executable decreases, I wanted to know what it fails to include in the Release, because the size had…