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 answer753 viewsHow to Treat a Blob value that is emptyvar Streamalt, Streamalt2 : TStream; Jpegalt, Jpegalt2 : TJPEGImage; Bmpalt, Bmpalt2 : TBitmap; begin Streamalt := DMretaguarda.QConItem.CreateBlobStream(DMretaguarda.QConItemftpec1, bmRead); try… delphiasked 11 years, 3 months ago Ramon Ruan 1,018
- 
		1 votes1 answer1075 viewsDelphi: How to verify if element obtained by getElementById really exists?I have the following code: procedure TMainForm.ValidarAcesso; var doc: variant; element: variant; begin doc := coHTMLDocument.Create as IHTMLDocument2; doc.write(memHtml.Text); try element :=… 
- 
		1 votes1 answer899 viewsImplementation n for n relationship in DelphiIt may be something simple for most, but I would like to know how to implement in practice a n-to-n relationship between Mysql tables using Delphi. I created the diagram of my BD in Mysql Workbench,… 
- 
		1 votes1 answer1986 viewsProblem Inserting Into SQLITE Table Using RAD STUDIO XE6Good Afternoon, I have a problem in my code, use Rad Studio XE6 connected to a base SQLITE, when I insert values with point in the table occurs the following error for example = 'near "6.75":syntax… 
- 
		1 votes2 answers1047 viewsGenerate Sequence Records with Clientdataset (Multiuser)Guys I have the following scenario: Order Table with Company, Numeropedido that are primary key. Other fields like Customer, Value, ect... I have an Sqlquery, a Datasetprovider and a connected… 
- 
		1 votes0 answers312 viewsTfdsqlitebackup android Delphi xe7I’m trying to do backup of my Android application, application made in Delphi. I am using the component TFDSQliteBackup with the following code, it executes and creates the file, but the file is… 
- 
		1 votes1 answer2414 viewsHow do I group Groupheader over more than one field?I am making a report in Fastreport that returns demonstrates the following fields: codigo cliente nome cliente data do atendimento codigo atendente nome Atendente codigo atendimento motivo do… 
- 
		1 votes2 answers690 viewsAvoiding two processes of the same application in PascalWhat is the most viable way to identify the processes of my application in memory and close them if there is more than one execution. I use the Lazarus IDE platform (looks like Delphi), which… 
- 
		1 votes1 answer1127 viewsHow to inform the printer for Report BuilderI use Reportbuilder in my applications and would like to know how to inform which printer it will use to print before displaying the report. 
- 
		1 votes1 answer717 viewsAvoid endless loop of errorsI would like to know if you can avoid the occurrence of infinite loops of errors in Delphi XE2. These errors are usually critical errors of missing some file (like DLL) or without permission to… 
- 
		1 votes1 answer58 viewsHow to make wsmaximized not hide top menu?I have a form in dephi but when I maximize it or else mark the Windowstate = Wsmaximized the top bar some not being possible to see the action buttons (close, minimize) and the title of the form.… 
- 
		1 votes1 answer78 viewsOpen forms change size when closing anotherHave forms of the kind fsMDIChild that are set to start maximized (wsMaximized). They open normally, however when I close some of them the others change their state to WsNormal. I wonder if there’s… 
- 
		1 votes3 answers1859 viewsHow to get the serial number (not the IMEI) of iOS and Android devices?How to get the serial number of a mobile device? I need the solution in Adobe, firemonkey that works on both Android and iOS. 
- 
		1 votes3 answers2792 viewsLifecycle Delphi datasnap which to use?Greetings to all. I developed an app for android using datasnap Reflection REST technology with JSON Delphi using firedac data connection engine on the server. This app basically has the data query… 
- 
		1 votes1 answer262 viewsAccess Violation when creating ThreadI’m getting the bug: Acess Violation at address 00420214. Write of address 0000000E. When creating a Thread. The error line is exactly the creation line (marked with '>'). In uses I added the… 
- 
		1 votes0 answers1609 viewsLooking for how to save a cxgrid layout (devexpress) using StoretostorageIn Delphi, a grid cxgrid of devexpress, I look for how to save the layout in the database. I have here functions to save in ini, but this produces several files in the folder and would like to save… 
- 
		1 votes1 answer274 viewsPrevent image blinking when timer is usedI have a background image in my application, but it gives the impression of blinking due to the use of a Ttimer that the application has. I tried to change the interval of Ttimer but the problem… 
- 
		1 votes1 answer256 viewsIs it possible to use C# + Client Delphi server?C# has a framework Very good orm, this would help a lot when creating a server webservice between client and database. Delphi has many components that help to develop a commercial automation… 
- 
		1 votes1 answer781 viewsHow to allow the insertion of information in the database using Dblookupcombobox?I have a DBLookupComboBox capturing data from the table Species for the user to select what they need, after that this data is saved in the table Animal. My question is how do I manage to allow the… 
- 
		1 votes1 answer2029 viewsException Eexternalexception in module ntdll.dll at 000xxxxx. External Exception C0000026When trying to debug a software in Embarcadero XE2 the following error occurs: Exception EExternalException in module ntdll.dll at 000xxxxx. External exception C0000026 I realized this occurred… 
- 
		1 votes0 answers473 viewsCoupon tax is cutting by the jellyfish - Report BuilderI’m having trouble printing a Non-financial coupon by Report Builder, not printing all order items, I am entering 52 products and this cutting in the sequence product 36. Code:… 
- 
		1 votes0 answers27 viewsDo not allow MODAL form to exit from inside the main formI have an application that has a main form, which I call the others. The forms I call "form.Show;" are within the area of the main form, however, the ones I call "form.showmodal;" are on the main… 
- 
		1 votes1 answer1124 viewsHow to obtain the value of a property and how to obtain the property in which the attribute is declared?Let’s say I’m creating an attribute like this: TCompareAttribute = class(TCustomAttribute) private FPropertyToCompare: string; public constructor Create(APropertyToCompare: string); function… 
- 
		1 votes1 answer659 viewsHow to control the transaction between two different databases in Delphi?I have two databases and need to ensure the persistence of the data in both in a given process. Connection components are those of the Interbase Express package. I did so: database :=… 
- 
		1 votes1 answer863 viewsLoad listview lines from an OpendialogI need to load items from a text file into a Listview using Opendialog, how to precede? Is there any property LoadFromFile? 
- 
		1 votes1 answer1384 viewsSimulate mouse clickI need to simulate the click of mouse, but I can’t use PostMessage nor mouse_event. Is there any other way to send the click? 
- 
		1 votes1 answer501 viewsHow to create video playlist in DelphiI’m trying to create a playlist of videos in Delphi, to play the videos by Mediaplayer, however, does not execute all the chosen videos, only the first that runs, see the code: procedure… delphiasked 10 years, 5 months ago Renato Souza 43
- 
		1 votes3 answers749 viewsHow to optimize the query in a remote bank using Clientdataset?I’m using a Clientdataset for consultation in a remote database, the table has more than 100 thousand records and this getting very slow, the SQL I am using is: select (coalesce (cast(A.con_baixa as… 
- 
		1 votes2 answers1286 viewsQuery sql does not work with date in DelphiI am making the following query in Delphi, using Mysql: QueryExtraiDados.Close; QueryExtraiDados.SQL.Clear; QueryExtraiDados.SQL.Add('Select * from clientes where… 
- 
		1 votes1 answer758 viewsList more than one table for a single sign-up screenI have resume registration screen as shown below. What I needed to do is just register, but the problem is that I have three registration on this screen, personal information, phones and emails. The… 
- 
		1 votes1 answer1641 viewsPost method with idhttp without lockingHello, I will explain more or less what I wish to do, I have some data that need to be sent by post method to a server, but whenever it makes a upload the program "Freeza"(program crashes quickly),… 
- 
		1 votes2 answers1650 viewsShow hint when component receives focusHow do I show the hint of a Tedit when it receives focus, without the mouse being on top of it? I didn’t put code because I don’t have a clue. delphiasked 10 years, 5 months ago Artur_Indio 1,093
- 
		1 votes1 answer1012 viewsGet white space from a stringI’m looking for something like this: I have a string like this: texto texto texto texto type, with spaces before the text, and I need to take this space, and save in a variable, this using Delphi 7.… delphiasked 10 years, 5 months ago Éder Pereira 63
- 
		1 votes1 answer303 viewsHow to put 3D effects in Delphi applications?Hello, I have noticed that some applications in Delphi have graphic effects in the forms in such a way that as soon as the cursor passes over an image, for example, around it appears a ripple, I… 
- 
		1 votes2 answers993 viewsHow to program mobile with Delphi?Hi, I know Delphi XE4 creates mobile apps for IOS, but does it do the same thing for Android mobile? And you do what the tool’s name is? 
- 
		1 votes1 answer709 viewsPlacing values of a memo inside an arrayI have the following component Memo with the texts: 200:80 177:3306 I need to put this text inside a array, for example, based on the first line, the text 200 (would be array[1]) and the countryside… 
- 
		1 votes2 answers476 viewsQuery runs Filterrecord only onceI have a query in tquery that has the need to do Filterrecord. After displaying the data I do an internal search in the query for more specific item, for example the name, but when I search in the… 
- 
		1 votes1 answer510 viewsDesktop App + DB Online (Hosting)Good afternoon, Guys, my question is the following, in my connection of a desktop application with online database: 1st question: What is the best way to stay safe the connection made with the… 
- 
		1 votes2 answers313 viewsWhich program does Delphi 2010 underline in red wrong codes?I noticed that the Delphi RAD XE underlines in red incorrect codes and also I’ve seen the Dephi 7 do the same, this an image describes well what I mean.… delphiasked 10 years, 4 months ago EvertonBrunoSDS 107
- 
		1 votes1 answer1768 viewsWhat is the difference between Savedialog and Filesavedialog in Delphi?I’ve used both components, both Savedialog and Filesavedialog for the same tasks, without noticing any difference between them, except that Filesavedialog is not compatible with Windows XP, the… 
- 
		1 votes1 answer1324 viewsLegacy interface in DelphiI need to make a multiple inheritance in Delphi. Reading some articles, the most appropriate way is to make an interface. How do I do this, knowing that we have the classes below as an example: type… 
- 
		1 votes0 answers685 viewsWebservice Delphi XE5 AuthenticationI used WSDL importer to import the WSDL of webservice, but I am having difficulties in authenticating the query, when importing informed user and password, for the WSDL importer, and also tried to… 
- 
		1 votes0 answers318 viewsHtml5 enable geolocation in Tchromium in DelphiI use the Chromium component in my Delphi projects to navigate html pages but it does not show any interaction when the user tries to access page requesting geolocation access, as I do to enable… 
- 
		1 votes1 answer264 viewsMisalignment form in high resolutionMan form is misalignment when the app runs on a monitor with a higher resolution than mine, the borderstyle is in bsnone and yet you continue to misalign, I have also set up all the property anchors… 
- 
		1 votes1 answer252 viewsGenerate a report using thread in the backgroundI want to generate a report, but I want the system to be free for the user to do other activities while there is no report return. For this I am using thread, only when I close the form is giving… 
- 
		1 votes1 answer901 viewsFunction for popular Ttreeview only adds Childs to the first NodeI created this procedure to popular a treeview: procedure TFrmGerProfDock.Button1Click(Sender: TObject); Var Tables: TTreeNode; I: Integer; begin for I := 0 to ds.DataSet.FieldCount - 1 do begin… 
- 
		1 votes0 answers385 viewsHow to register a Dll for Delphi in Windows XP?I need to register a dll by Delphi (xe2) in Windows XP, but when running the windows method opens a "Run as" window where you need to indicate the user who will perform the action. Even though my… 
- 
		1 votes2 answers4623 viewsHow to resize imageI would like to know how to resize images in Delhi. I will receive images both in JPG, JPEG, GIF (ANIMATED) and PNG, then I have to resize to a Timage, but I’m not able to do it, because I take a… 
- 
		1 votes0 answers59 viewsIhtmldocument2 and Windows and IE versionsCould someone give me a light of what the incompatibility of some versions of the Windows + IE with the use of IHTMLDocument2? Example: IDoc := CreateComObject(Class_HTMLDOcument) as IHTMLDocument2;… 
- 
		1 votes1 answer2508 viewsHow to open a WEB image on a Timage in Delphi?I’m trying to open an image that’s on a site of mine, I can’t use Twebbeowser because it has a vertical scrollbar that I can’t remove, so I only have Timage.