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
-
2
votes1
answer1092
viewsEnable and disable Ttimer
How to enable and disable TTimer? I have a procedure: procedure TForm3.Timer1Timer(Sender: TObject); When I click on a download button, enable the Timer: Timer1.enabled := true; And when I click…
-
2
votes0
answers593
viewsDelphi 6 connection error - Mysql 4.1 - libmysql.dll - Windows 8
Hello. Many should already have seen similar posts about this doubt, but I’ve done all the suggested actions, and it does not wheel. I need to connect Delphi6 in Mysql 4.1 (I cannot use other…
-
2
votes2
answers3135
viewsClientdataset 'Insufficient memory for this Operation'
I’m trying to give a active in a ClientDataSet and is returning the following error: edbclient Insufficient memory for this Operation Does anyone know how to solve?…
-
2
votes1
answer526
viewsDelphi 7 x64 record
I tested on a Windows 8 machine the following: I entered a Windows registry key for startup. On Windows XP and Windows 7 which were 32 bits worked but on Windows 8 which is 64 bits didn’t work. Can…
delphiasked 9 years, 7 months ago maycon silva 47 -
2
votes1
answer1215
viewsEdit records of a field clientdataset from a Join
I have a simple example, but in three layers, with sqldataset + datasetprovider + clientdataset. I do not load any field in sqldataset. In datasetprovider I leave the updatemode in upwherekeyonly.…
-
2
votes1
answer1384
viewsDelphi XE7/XE8 - Refresh in database (real-time update)
I have two interconnected systems, one saves a record in the database and another reads the saved record, currently I use a timer to refresh the database in the system it reads, so it takes every 5…
-
2
votes2
answers2228
viewsIs it possible to compile for IOS using Delphi XE7 on Windows?
Hi I was wondering if it can compile for IOS using Delphi XE7 on Windows, When I try to compile it tries to use the "Create a Connection Profile". Is it mandatory to have a Mac to compile for IOS?…
-
2
votes1
answer1231
viewsDelphi XE8 + Android - Splash screen closes before the app loads and shows black screen for a long time
I’m creating an APP in Delphi XE8, so far so good, the problem is that when my app will be loaded on Android, the splash screen closes too early, the app hasn’t loaded yet, so it shows a black…
-
2
votes1
answer337
viewsHow to create a Virtual String Tree in Delphi
What happens is that I created a Virtual String Tree in Delphi (Typhon64), but I don’t know how to add parent and child nodes to create the tree, I looked at the documentation but only found click…
-
2
votes1
answer1219
viewsHow to download from Delphi?
Hi, I created an application on Delphi, but she needs to download some files I have on a website, but I have no idea how to do this, please help me. Thank you for reading my question!…
-
2
votes1
answer607
viewsHow to change the archive icon compiled in Delphi?
I developed a auto build For my projects, everything works fine. However, in this application builder the user will be able to choose the icon to be used, but I do not know how to do it. I’ve done a…
delphiasked 9 years, 4 months ago Caitano Oliveira 83 -
2
votes1
answer425
viewsQuery information for a Tlistview-related Tabsheet
Well I’m a beginner and I’m in big trouble. I have the following situation: I create an item on Tlistview by making two clicks on the selected item I add an object in the form to the item of…
-
2
votes2
answers924
viewsKnow how many properties an INI session has?
I have an INI file which a session has several properties: [DLLS] Dll1=... Dll2=... Dll3=... In the above example there are 3 properties. Is there any method in the Delphi to identify how many…
-
2
votes1
answer759
viewsHow to make livebindings with objects and pick up the objects contained?
I have a problem that I cannot solve in any way. With the Delphi XE8, have already done livebindings to connect screen components TEdit with non-visual objects, but I cannot connect screen…
-
2
votes1
answer65
viewsValidate regular expression categories
I would like to know how to validate categories with regular expressions. So I have a list of categories separated by comma. Each word must have a maximum of 20 characters, I need to validate every…
-
2
votes1
answer463
viewsAssign value to a Select by the text of the option via Webbrowser
I need to set the value of a field Select of a page that is loaded into the Twebbrowser component in Delphi 7. This procedure I can do in other fields where values are equal to the options texts,…
-
2
votes1
answer232
viewsChange "Step" in Quickreport "Printing Progress"
I’m developing a system for printing tickets, so I send extensive files to print, around 25,000 pages per view. Due to that large number of pages the "Printing Progress" of the Quickreport It takes…
-
2
votes1
answer1240
viewsHow do I install the Chromium package in Delphi?
I was using the Twebbrowser component which is based on Internet Explorer, but I have noticed that it runs disfigured HTML5 pages, I have heard about the Firefox package, but it did not run on…
-
2
votes1
answer1235
viewsValidate URL Regular expression
I would like to know the following, I have a regular expression to validate Urls, but I would like it to not only validate the URL, but release it if the URL is empty or empty: I believe that was…
-
2
votes1
answer1358
viewsSend a message to TV on the network
How do I send a message to a network-connected TV using Delphi7. Ex.: I have a system that controls attendance queues, I need to show the next call password on a TV that is connected on the network.…
-
2
votes3
answers113
viewsQuery in Sqlserver
I have the following problem: I would like the person to type the number of Ribbons in an Edit and these values are compared with the values in the database and when they are equal. present them in…
delphiasked 9 years, 1 month ago Guilherme Lima 3,129 -
2
votes1
answer138
viewsIs it possible to display a form through a Messagedialog?
With the MessageDialog, would like to create components (buttons) at runtime and set the size and text of the buttons of this MessageDialog. Besides, I need to show you some Forms according to the…
delphiasked 9 years, 1 month ago Guilherme Lima 3,129 -
2
votes1
answer229
viewsDoubt Client-server system migration, Firedac to more than 1 database?
A system was developed using Firebird is dbexpress, for migration of this system so that it was possible to use more than 1 database, what would be the best solution? In Delphi XE we have Firedac…
-
2
votes1
answer4025
viewsHTTPS post is not working in Delphi
I have a project where I need to post requests to a webservice that works with HTTPS, but when I try to post to Indy 10 using Delphi 2007 it throws exception saying that it was not possible to load…
-
2
votes1
answer1263
viewsSearch only files that match part of the name in a directory
I have the following problem In a given directory I will need to create files that meet the following criteria. DOCUMENTO_DDMM_SEQ.txt Where Document : Any number that may or may not be repeated…
delphiasked 9 years, 1 month ago Marcos Regis 1,693 -
2
votes1
answer527
viewsDelphi Unit Test
I am implementing Dunit in the company and my question is the following: there is some way to click the button of a "Showmessage", of a form I can, but I would like when the showmessage window…
-
2
votes1
answer96
viewsDBGRID does not display result
I have a table that has data registered in SQLServer, but in the application they do not appear in the dbgrid. DATASOURCdo dbgrid -> UDM.DSPecas_ordem_servico When opening the form: procedure…
-
2
votes1
answer588
viewsDelphi - Make a Thread that plays a song in a loop
I managed to make a Thread that plays the song, but only once. If I put a loop on it I have several errors, like the 1400. It seems that the thread does not close when you close Form1, because the…
-
2
votes1
answer319
viewsDelphi, Mysql, Adoconnection - Convert database data from latin1 to utf8
I’m having trouble converting the strings coming from the database (Mysql - latin1) to UTF8. The case is that I need to take the data in the database encoding for UTF8 to generate an XML with this…
-
2
votes2
answers319
viewsField Size Error when running Insert in Postgresql in Delphi application
I have a problem that could only be happening on a Friday #13. I have an application in Delphi that controls SEDEX submissions and use the Postgresql database. In a given column, called sdx_cepnet,…
-
2
votes1
answer55
viewsSqlserver does not check information correctly in Delphi application
I have a login screen on Delphi + Sqlserver where the goal is to compare the data sent with the data held in the database! first Setting: If I add incorrect password and correct login. shows error!…
-
2
votes1
answer133
viewsData insertion error in Sqlserver + Delphi
I have the following problem, when trying to register a new record in the database it presents me the following error below follows the codes: open the form for registration. procedure…
-
2
votes1
answer938
viewsGrab Listbox’s Multiselect content and play in a Memo on the same line
I need to play the content with one or more selections from TListbox in a TMemo. I activated the Multiselect for True, I’m using: ListBox.Items[ListBox.ItemIndex] Only with a selection it normal…
-
2
votes2
answers156
viewsLogin screen acting incoherent
I set up a login screen where the user must enter login and password with the code below: procedure TFMLogin.Img_confClick(Sender: TObject); var verif: boolean; begin FMHome.ADOLogin.SQL.add('Select…
-
2
votes2
answers366
viewsActive = False before starting a Delphi application
Every time we work on Datamodule on the connection component, we activate to do tests and the like. It turns out that if we forget to disable when we compile, it can give error when we send to the…
-
2
votes1
answer168
viewsbar spacing in a barcode
I have the code below that generates me a copy of bars from a number inserted, but I think that the bars are very close, there is a way to leave them with a larger spacing between them? below the…
delphiasked 8 years, 11 months ago Guilherme Lima 3,129 -
2
votes3
answers381
viewsLoop to make edits invisible
I have the following way, to make the edits invisible. edt_raster5.visible := false; edt_raster6.visible := false; edt_raster7.visible := false; edt_raster8.visible := false; edt_raster9.visible :=…
-
2
votes0
answers352
viewsError creating firemonkey border form
Using Delphi of RAD Seattle update 1 when creating a form at runtime, if the main form has the Borderstyle property other than None I get an error. This problem happens using firemonkey and…
-
2
votes2
answers135
viewsReading Incorrect txt File
Well I’m reading the following information from a txt 0016009993|GuilhermeLima|Azul|4|21|basico+completo|6 after reading I am separating the contents using the delimiters "|" to separate into memos,…
delphiasked 8 years, 11 months ago Guilherme Lima 3,129 -
2
votes1
answer1296
viewsBreak line in a given character
I have an application where a TLabel receives a line from a TMemo, however the form that I’m exhibiting has to be small, and the information is great. My idea is that when arriving at a certain…
delphiasked 8 years, 11 months ago Guilherme Lima 3,129 -
2
votes2
answers854
viewsError on close executable
I have an application that has 4 forms. After the process there is a button for the person to start again. procedure TForm4.Button3Click(Sender: TObject); begin FreeAndNil(Form1); FreeAndNil(Form2);…
-
2
votes2
answers2921
viewsHow to use ternary IF
How would the following situation be using if ternary? if StrToInt(Edit1.Text) < 30 then Edit2.Text := '30' else if StrToInt(Edit1.Text) in [30..50] then Edit2.Text := '40' else Edit2.Text :=…
-
2
votes1
answer482
viewsAndroid Delphi XE8 Home Screen
Good morning, everyone, I wonder if you have how to remove the incial screen (icon of the flame followed by the black screen) that trims in the applications developed in Delphi XE8. Grateful.…
-
2
votes1
answer1355
viewsHow to register a DLL in the system?
I have a DLL that I can’t register in the system. If I take the original DLL, it is registered, but if I take the one that was generated in the company machine, it records. I don’t know if I have to…
-
2
votes1
answer426
viewsDelphi XE5 Firemonkey - Problem building application in Application Store
0 down vote avorite Good morning, I developed a Multi-device application for Android and IOS, but I have a problem when I compile my application in the Application Store mode to distribute in google…
-
2
votes2
answers729
viewsHow to view data in a dbgrid
I’m using SQLConnection, SQLDataSet, ClientDataSet, DataSetProvider, ClientDataSet and a DataSource. I need to display the data on one dbgrid, but I’m not sure how to do that. In the FormCreate I…
-
2
votes1
answer1008
viewsHow to remove Mask in Delphi from a Maskedit
I need to remove the stitch and trace from a Maskedit in Delphi. The mask is ##.###-#
delphiasked 8 years, 4 months ago fabricio_wm 1,090 -
2
votes2
answers163
viewsError message when closing the application
I have this code that I use in a login screen, that when the user uses the correct password, it directs to the main screen, until then everything ok, works perfectly, but when I fecho the…
-
2
votes1
answer30
viewsProblem updating Delphi XE6 results
Hello, I made a screen where I have 4 buttons is muted the positioning of them according to a Random, works more images on the screen does not update. procedure…
-
2
votes2
answers873
viewsDoubt about query in Delphi 7
I have a certain problem when trying to run an update query in my database, Delphi gives error as incorrect syntax, but I could not find the problem. Could someone please help me ? Follows prints:…