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
answer38
viewsCalling Createparams from an inherited component
I have a component inherited from a Tedit. I already have an override of the CreateParams and by default it has the following parameters: Params.Style := Params.Style or WS_CLIPCHILDREN or…
-
0
votes3
answers69
viewsHow to read only Formatdatatime numbers
I needed to know the current time of the computer and compare with values in the database, example: 'agenda.hora >= "' + formatdatatime('hh:ss',now) + "; It turns out that both in the bank and…
-
0
votes0
answers104
viewsThere is a lighter object than Trectangle that can apply background color (background)
I’m using the firemonkey (FMX) and made a list of times with Trectangle and label, because using ListView he doesn’t look very handsome. It turns out that when there are many records (something…
-
0
votes0
answers54
viewsMake an inputQuery replace a variable in the word if the condition is true
I am working with Delhi and I need a method that does the following in the open word document look for a@Name variable if it finds the@Name variable open an inputQuery for the user to enter the new…
delphiasked 7 years, 3 months ago Gustavo Cruz 17 -
0
votes1
answer453
viewsReturn number of rows or columns of an array
I have a matrix like this in Delphi XE8: Matriz[2][3]. I wonder which method can I use to return the number of rows or columns in this matrix, my idea is to loop with 2 for's and traverse the matrix…
-
0
votes2
answers1900
viewsAccess Free Market API by Delphi XE5
I’m trying to make an application in Delphi to integrate ERP to the Free Market, and when using REST Debugger (for testing) this returning me an HTML and not Json, someone has already gone through…
-
0
votes0
answers37
viewsProblem with toolbars
I’m using TcontrolBar to use fluting toolbars made with TToolbar, the alignment of two of the TControlbar is Top and Bottom, in those I can locate the toolbar where I want and I can move them…
delphiasked 7 years, 3 months ago Pedro L. Angel 1 -
0
votes0
answers50
viewsProject Access Violation when set Optimization
I’m on a project where I don’t know why a access violation when I try to open the program only on release mode, in the debug mode this error does not appear. Error happens in function call DoShow of…
-
0
votes2
answers214
viewsStringgrid Delphi - "carousel"
I would like to do the following with my Stringgrid, I have a register of 100 products, and I would like it to show 10 products at a time, in a kind of infinite loop. Someone knows how to help me?…
-
0
votes0
answers417
viewsSave image Webbrowser Delphi
I get an image from an IP camera and display in a Twebbrowser I would like to save that image in a folder. The source code for the generated HTML is this: <!DOCTYPE html> <html>…
-
0
votes1
answer335
viewsPrevent download Twebbrowser Delphi
I have 1 Webbrowser that when loaded a URL he must load an image according to a query in the BD. It happens that the first time the request is made it opens the screen to save this image, if close…
delphiasked 7 years, 3 months ago Ezequiel Tavares 351 -
0
votes1
answer715
viewsTXT file on android
How do I write a TXT file to android using Delphi 10 Seatle? I’ve tried that way and only from mistake; try file1 :=…
-
0
votes1
answer611
viewsRestore Minimized Application (Login)
I have an application in Delphi that the login screen appears before the main screen is actually created and opened during the Create of Mainform. If user minimize application on login screen and…
-
0
votes1
answer328
viewsError creating new screens in Delphi for Android
I’m creating an app for Android with Delphi 10 Tokyo and in this app has a certain screen, called Tela1. When I click the Open button from my menu on the main screen, calling the screen Tela1, opens…
-
0
votes1
answer243
viewsDestroy Tlist Memory
I created this object list with mormot and it won’t let you destroy the Tlist Created after use: type TTesteVO = class private fcodigo : Integer; fnome : String; frespostas : String; ftotal : Real;…
-
0
votes1
answer330
viewsDelete master-detail record Tcxgrid
Good morning, you guys! Here’s what it is: I set up a grid (Tcxgrid) to have a master (header) and a detail (items) to display grouped information as needed. However, this grid gives the user the…
-
0
votes1
answer218
viewsDELPHI function for PHP
I am reprogramming a client system and I need to convert a function in Delphi to PHP to complete a system step and I am struggling with it... could give me a help.. thanks in advance.. follow the…
-
0
votes1
answer815
viewsHow to edit Listview items at runtime (Runtime)
Olhá Makers, I created a Listview by Design and needed to edit the position and size of the text at runtime, does anyone have any idea how to do this? In case the items I will edit from Listview are…
-
0
votes1
answer329
viewsDelphi with Tmultiview does not get desired height
I’m having trouble defining the height (Height) for a Tmultiview that is set to "arise" from bottom to top (property DrawerOptions -> Placement = Bottom). My Android app gets the screen…
-
0
votes1
answer336
viewsProblem when deleting from memory a Tobjectlist<Tlabel>
I’m having a problem clearing a Tobjectlist< Tlabel from memory, specifically the Objectlist of the type Tlabel. I created two Objectlist, added an item and tried to clear them from memory:…
-
0
votes0
answers426
viewsSort GRID fields in alphabetical order - Delphi
I need to sort the grid fields of my chart in alphabetical order (Usage Delphi 10.1 Berlim and the component TcxDBPivotGrid devexpress), See attached image: OBS -> I need to order the fields that…
-
0
votes1
answer352
viewsWord as the basis for a report in Delphi that has Detail
Galera I have a standard word document used in the company to make a presence list in training, but now they want to generate this list, with the names of the participants, already filled through…
-
0
votes1
answer311
viewsHow to post a record of details in an Fdquery with the parent record in insert mode?
I’m using two FDQuery with master-detail relationship and found a problem: using property CachedUpdates and relating both FDQuery à um FDSchemaAdapter. Call "Insert / Append" in the Mestre and then…
-
0
votes1
answer298
viewsHow to pass the reference of an object?
I am trying to pass the reference of an object that is in a list to another list, without needing to delete the object and updating the first list so that the object is no longer referenced in it.…
-
0
votes1
answer286
viewsRun a precedent while the component is pressed
I have a multi-device application made in Delphi-XE8, in it I have an image (TImage) of rocket and other 2 of arrows, would like the rocket moves on the x axis of the screen (Position.X), but with…
-
0
votes0
answers79
viewsHandle data between enumerated variables and "set of" in Delphi
I have two variables of different types, but dependent, one type being a set of of the other kind which is a Enumerated Types. How do I extract the value from the type variable set of (Y in my case…
-
0
votes1
answer117
viewsSlow tfdquery.Append
Slow append. Tfdquery when applying value in a field with SGDB in the cloud, consumes 144 thousandths of seconds by changing the Tfdquery.Autocalcfields Property to false, this time reaches 071…
-
0
votes0
answers397
viewsUsing Chromium in firemonkey
I was shown the Chromium Cef4delphi component and in tests I saw that it works very well in VCL but in firemonkey (FMX) it does not work. I would like to know if it is possible, using the Chromium…
-
0
votes0
answers60
viewsDelphi: Internal Error: AV004C8D4A-R00000020-0
I got the following error when compiling a project in Delphi 10.2.2: [dcc32 Fatal Error] Internal Error: AV004C8D4A-R00000020-0. I found nothing regarding this error code. Would anyone know what…
-
0
votes1
answer117
viewsListview and Aniindicator
If anyone can help, I have the following problem : I have two components in a form, a Listview and an Aniindicator, I am loading the Listview data into blocks coming from the database as per demand.…
-
0
votes1
answer71
viewsPdfsplitmerge class not registered in Delphi XE
I have a system that uses Unit Pdfsplitmerge_tlb, happens that compiles in a good, but when executing and trying to use the Object Tcpdfsplitmergeobj he says the class is not registered Example of…
-
0
votes2
answers1405
viewsWhat is the difference between these Form Delphi creation options?
We have the following options: Application.CreateForm(TForm, Form); and Form := TForm.Create(Application); There’s a difference between the two? I know it exists because depending on where we call…
-
0
votes1
answer164
viewsTwebbrowser and Httponly cookie
How to get the Httponly cookie from Twebbrowser? when logging into a page by IE, Firefox, or Chrome I see the following cookie: Cookie:_ga=GA1.3.2133370562.1518083464;…
-
0
votes1
answer1849
viewsConsume Webservice in Deli
I created a REST webservice using JAVA, but I need to make a client in Delphi consume this webservice, I tried to make several video lessons I found by google, but none was useful to me. I created a…
-
0
votes1
answer688
viewsQuery the webservice and populated a grid with the data
The question referring to "duplicated", is about consuming the webservice in Delphi, and in this case I already consumed, but now I need to play the data that Delphi takes from the webservice and…
-
0
votes1
answer224
viewsCustomise DB Grid with web service data
I am creating a simple system to test the operation of Delphi with Webservice REST, the first test is a database search that in this case is working all right, only that when the data is loaded in…
-
0
votes1
answer367
viewsDebug Delphi keeps stopping even after breakpoint withdrawal?
My Delphi XE is a little crazy, there are some Units that persist in making the stops even after I removed Breakpoint (F5) from the line, someone went through it and managed to solve, already…
-
0
votes1
answer85
viewsHow to use Freeandnil in this case?
I have the following routine that destroys forgotten forms opened by the user: ... for i := qtd - 1 downto 0 do begin if (Application.components[i] is TForm) then begin…
-
0
votes1
answer1136
viewsHow to finish the process of the executable itself with Delphi?
I’ve already posted a thread here in overflow about a problem I’m having with the Twebbrowser component, when I use it the application does not finish, is in the list of processes windows is as if…
-
0
votes1
answer128
viewsChange a record with a REST Webservice
I am trying to change the registration of my bank through a web service in java Rest, the tests in the webservice worked, but in the client I am having problem to work. Note: Using Delphi…
-
0
votes1
answer282
viewsHow to pass an array to a property?
I am trying to pass an array of Strings and two Talignment arrays to three properties (Published). But I’m having the following mistake (which is the same for the three properties): [dcc32 Error]…
-
0
votes2
answers799
viewsDelphi - Grid does not display all fields of the SQL statement
I’ve been racking my brain for two days and I can’t figure out the problem. I have an SQL (Tfdquery) statement written in the code that selects three fields from a table to display them in a Dbgrid.…
-
0
votes1
answer144
viewsUnix Time for Tdatetime
I need to convert a received time into a json in the format 750382 for 00:12:41 in Delphi has the function Unixtodatetime() but it only works if I receive the full date and time, but in this case I…
-
0
votes2
answers347
viewsLazarus Debugando
In Delphi in debug mode I can check the value of a field, for example: if Edit.text = '' then If you hover over Edit I will be able to visualize the value of the field. How do I do this in Lazarus?…
-
0
votes1
answer520
viewsquery receive value from another query
There is a way for a Tibquery to receive the other Tibquery. For example: Query1.Close; Query1.Open; Query2 := Query1; if Query2Valor1.... // segue a lógica
-
0
votes2
answers463
viewsDelphi application with Twebbrowser not out of the process list?
I made a test program to show colleagues what is happening, I’m using the Twebbrowser component to show a text works in a good, it happens that when I close the application it does not leave the…
-
0
votes0
answers52
viewsRead loop web pages converting to text
I need to read several web pages successively in loop, converting each page to text. The goal is to read quotes of various shares, Yahoo Finance website, for example. I’ve tried several resources,…
-
0
votes1
answer206
viewsWebservice SPC Brasil: The systems cannot find the specified file - Soapaction:""
I am consuming the Webservice of SPC Brazil and imported the WSDL from the following address: https://treina.spc.org.br/spc/remoting/ws/consulta/consultaWebService?wsdl After importing the WSDL and…
delphiasked 6 years, 11 months ago Fábio Machado 1 -
0
votes0
answers121
viewsListview Event Error for Round Images
I have a listview linked to an Fdmemtable at the event : TForm31.ListView1UpdateObjects(const Sender: TObject; const AItem: TListViewItem); i do the following procedure to leave the photos round :…
-
0
votes1
answer574
viewsHandshake Failure Idhttp - Packaged digital certificate
Rephrasing the question... I was able to get an answer from the webserve, but it is returning the following error: I need to encapsulate a digital Ceritificado together with the requisition and do…