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
votes0
answers69
viewsDisable the ESC key in windows with Visual Basic or Delphi
How to disable Esc on Windows via Visual Basic or Delphi? When the user is open program Esc is unusable, will not do action in any open program. Example: with the start menu open when I press Esc it…
-
0
votes1
answer609
viewsEncrypt a function in Delphi
Is it possible to encrypt functions in Delphi ? Any type of encryption.... example, I need to encrypt this function: function REspacos(const str: String): string; const cDouble = ' '; cOne = '';…
-
0
votes1
answer47
viewsRepair in Checkadas tables
Follows the code: status := DataModule1.ZQuery2.FieldByName('Msg_text').AsString; while not DataModule1.ZQuery1.Eof do begin if status <> 'OK' then begin DataModule1.ZQuery3.Close;…
-
0
votes1
answer506
viewsDarken Image (Degrade)
Is it possible to darken an image inside a Timage in Delphi ??? Is there a component, something like that to do it ? The Program puts the image, and I need to darken right after it is inserted...…
-
0
votes2
answers1125
viewsView the side menu in a Form
I have a form that displays a side menu according to this code: procedure TFMainMenu.FormMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); begin PanelMenu.Visible := (Mouse.CursorPos.X…
-
0
votes4
answers16806
viewsCopy part of a string
I have the following strings: Cliente em questão: protocolo20209092032932 Cliente em questão 2: protocolo320930293232 Cliente em questão 3: 20392039230902032032 I need to do a function to copy…
-
0
votes1
answer503
viewsClientdataset closing after opening
I’ve been using Iphi xe6 for a few days now and I’m racking my brain with a problem. I have here the trio: Sqldataset -> Clientdataset -> Datasetprovider. When I open my application, I call…
delphiasked 10 years, 7 months ago Vitor Henrique 1,113 -
0
votes1
answer92
viewsDbtreegrid component for Delphixe
I need a component DBTreeGrid to the DelphiXE3? I’ve Googled but found nothing :( Does anyone know any?
-
0
votes2
answers2020
viewsRAD Studio XE6 does not connect to any database!
Program used: RAD Studio XE6 (32bits). Problem: When creating a new Desktop or Mobile project, when trying to configure the connection to any database, whether by Firedac or dbExpress, the following…
-
0
votes1
answer186
viewsReload/Wininet Cache Flag
I have the following problem, I have a function in Delphi that runs online a PHP file that provides the SERIAL of the PROGRAM It happens, that when I run this function it keeps taking the same…
-
0
votes2
answers1103
viewsDelphi Application Server Routine with UNIGUI
I have an application developed with UNIGUI components for Delphi XE5 and would like to know how to run a routine on the application server, without necessarily being in the browser interface. One…
-
0
votes1
answer61
viewsDoubt about MYSQL Code + Delphi
Follows the code: DModuleGrid.qtudo.close; DModuleGrid.qtudo.sql.clear; DModuleGrid.qtudo.sql.add('select numcupom from tabc460 where cderr <:mc'); DModuleGrid.qtudo.parambyname('mc').asinteger…
-
0
votes2
answers1379
viewsFortes Report + Masks
Does anyone know how to format a CPF/CNPJ in a report in the Forte Report? procedure TFRelMenLac.RLBand4BeforePrint(Sender: TObject; var PrintIt: Boolean); var ltemp : string; begin ltemp :=…
delphiasked 10 years, 7 months ago Ramon Ruan 1,018 -
0
votes1
answer231
viewsComponent or PDF Converter
Does anyone know any components for Delphi XE that convert PDF to DOC or HTML ? Or if possible edit the PDF directly and change the same ?
-
0
votes1
answer897
viewsArgox Label Printer: A_prn_text - Variable Is Error
Follows the function: function A_Prn_Text ( x,y,ori,font,typee,hor_factor,ver_factor:integer;mode:char;numeric:integer;data:String):integer;stdcall;external 'WINPPLA.DLL'; Follows the code: while…
delphiasked 10 years, 6 months ago Ramon Ruan 1,018 -
0
votes1
answer1069
viewsWhen repairing causes error - 'Lost Connection to Mysql server During query' - An idea?
Follows the code: ZQuery1.Close; ZQuery1.SQL.Clear; ZQuery1.SQL.Add('SHOW TABLES FROM '+zConnRepara.Database); ZQuery1.Open; ZQuery1.First; Progressbar1.Max := ZQuery1.RecordCount; lTemp := '';…
-
0
votes1
answer134
viewsI cannot load Firebird data into Delphi XE2 using Tzquery
I have a Tzquery created, and I try to load the fields SEQ_CTE and SERIE_CTE according to the code below: ZQuery1.sql.text := 'select * from C000004 where filial = '' + frmprincipal.spanel1.caption…
-
0
votes1
answer269
viewsColoring text within "tag"
Well, I have a Rich Edit and I’m using it as a changelog, and I’d like every text with you in -><-to be of a specific color. For example, in: ->10/10/2014<- 10/10/2014 would be of a…
-
0
votes1
answer884
viewsIdentifying a String as Pascal variable name
I have 50 variable array type and I have a method that will receive a String containing a name of an existing variable. I would like to know what is the ideal way to identify the value of the…
-
0
votes1
answer1173
viewsOpenssl in Delphi 7
I need to use the functions of Openssl direct in Delphi 7 and I need help because I am not getting.
-
0
votes0
answers616
viewsHow to validate a user in Active Directory via Android
I am trying to validate user in Active Directory with Delphi XE7 + Android. Before I used in previous versions to desktop but now I can’t do for Android.
-
0
votes2
answers60
viewsIllegal Loop + Expression in Valuator
I am downloading several files (one after the other) by one loop, but as soon as the first one goes down, it gives crash. Follows the loop: for x := StrToInt(version)+1 to StrToInt(version2) do…
-
0
votes1
answer492
viewsBrowse Tlist and load Tmemo with Tlist information
[Tlist in firemonkey mobile] Guys, I’ve had a problem here for a while. I can’t work with TList in firemonkey mobile, specifically until then tested "Android". If I compile for Win32 works…
-
0
votes0
answers302
viewsHow to run hot key on Tadvglowbutton
I own a form to use base to create others using the component Tadvglowbutton. In the form example working shortcut keys on all buttons of this type, but even after I copy the button to my new form…
-
0
votes1
answer1191
viewsSort a double array (array) based on the chosen column
I have a multidimensional matrix in Delphi with 3 lines and 2 columns, I wanted a way to sort (Sort) it based on a column, follow the example: procedure; var Matriz: array of array of Double; begin…
-
0
votes2
answers731
viewsExtract JSON array data on Android received by Datasnap
Good afternoon. I would like to know how I can extract the data received by the server using Datasnap from Delphi. I’m doing it this way, but it’s returning an error: lista_versoes =…
-
0
votes1
answer3755
viewsConverting Date to American Format in Delphi
I have the following code: procedure Tfrmniver.FormCreate(Sender: TObject); var hoje : tdatetime; dia:Integer; begin //Defini a quantidade de dias dia:=15; // vamos obter a data de hoje hoje :=…
delphiasked 9 years, 8 months ago Renato Souza 321 -
0
votes1
answer463
viewsDoubt about modal form in MDI application
Well, I’ll try to summarize. I have an MDI application which I would like the "MODAL" forms to be superimposed only on the "fsMDIChild" forms and not on the entire application. I conducted a survey…
-
0
votes1
answer761
viewsHow to put shade on a "label" in Delphi?
Hello, I was wondering how to put shadow on a "label" in Delphi like this image below:
-
0
votes3
answers273
viewsDelphi Xe5 + Android: error installing APP on Sony Xperia E1
The application runs well on Samsung and LG, but the Xperia E1 does not show the icon or open the database (warns that the Interbase is not installed). What might be missing? What’s left to do?…
-
0
votes1
answer710
viewsRoutine Issues to Identify Windows Version
I’m having trouble in a routine that identifies the windows version. In case I’m using Delphi 7, I put the routine in a program that solves and puts in a textbox, beauty worked, I made some changes…
-
0
votes0
answers58
viewsSend a private message phpbb
All day trying to solve this, no more. I can log in the forum, read and delete private messages, but to send the business will not. I need to send a private message via my software in Delphi (xe6).…
delphiasked 9 years, 8 months ago Rodrigo Farias 21 -
0
votes2
answers2827
viewsHow to know if there is a line selected in Dbgrid?
How can I know if there is a selected line in my Dbgrid. In this case below: The pointer is selected in the dataset, but I wanted to know when the grid is this way: In this case it would be only if…
-
0
votes2
answers939
viewsWhat is the usefulness of pdoxusrs.net?
Hello, I have the following problem, I have a Delphi 7 application with Paradox (I believe with BD this also occurs) that uses pdoxusrs.net, but other applications use it. Can anyone explain how…
-
0
votes0
answers650
viewsIptv load list - Delphi
I’d like to know, I have to upload an iptv list: Some of these lists are in . xml, but this is not. How do I import But I can’t figure out what follows every list of this: #EXTINF: -1, Martanela TV…
-
0
votes1
answer217
viewsTclientdataset does not start
I create at runtime a TClientDataSet, start, do Insert, but in some computers does not start or create the TClientDataSet. Windows from my computer (Desenv) Windows 7 32 bits, works perfectly.…
-
0
votes3
answers775
viewsIs it possible to mount a server that works from my computer?
I have a chat made in Delphi that works only on internal network, I also have his project in case you want to make any changes, and I was wondering if it is possible to make this chat work on remote…
-
0
votes3
answers2201
viewsHow one class can inherit from one interface and another class in Delphi
I’m creating a small persistence class using RTTI. I created the attributes of fields separated by type Ex: Fieldstring[], Fieldinteger[] and etc.. At a certain point I need to go through the…
-
0
votes0
answers51
viewsError in sending email
I have an application in Delphi 2010 who sent emails normally by the components INDY. From time to time I can no longer send emails. I already changed the settings in my account GMAIL for: enable…
-
0
votes0
answers1191
viewsLoad DLL SSL - Delphi
I’m having trouble downloading files with https:/protocol. Looking for information, I was informed that I should load the DLL. I found people showing "how it carries", but as I have never performed…
-
0
votes0
answers385
viewsHow to display two columns in a result of a lookup field?
I’m trying to show not just a result (LookupResultField) for a lookup field (FieldKind, fkLookup), but yes two, I tried to put the result fields separated by point and comma, but it did not work,…
-
0
votes0
answers206
viewsAntivirus recognizes Tidhttp as a threat in Delphi, what to do?
I am using Delphi RAD XE6, but my Avast is accusing every application carrying the Tidhttp component as a virus, even though the application has only an empty form, I even tried to create the…
-
0
votes1
answer269
viewsAdd specific inline text with repetition
In the image below we have the following case the person types in the two fields of Edit. And click Generate recommendation values are written in a Tmemo. The second step would be to type a new…
delphiasked 9 years, 4 months ago Guilherme Lima 3,129 -
0
votes1
answer296
viewsIs it possible to limit the speed of the Internet through Delphi?
Is it possible to limit the speed of the Internet through Delphi? Example, if my internet is 120 KB/s I can reduce it to 10 KB/s on my own computer?
-
0
votes2
answers864
viewsRemove fields created at runtime
I have the following function to clear edits common: for I := 0 to componentCount-1 do begin If(components [i] is Tedit) then Tedit(components[i]).Text := ''; end; but I do own edits created at…
delphiasked 9 years, 4 months ago Guilherme Lima 3,129 -
0
votes3
answers2790
viewsConvert Pointer to string
Hello, I would like to know how to convert from Pointer to string, because when I try to use Pointer in a Messageboxa for example, it makes me the following error: I’m trying to get the message out…
-
0
votes2
answers1880
viewsDelphi XE Firemonkey mobile app - How to resize an image?
The problem I face is that I allow the user to insert an image from his mobile device gallery, some images are too big to be recorded in a bank taking into account the wonderful 3g signal quality.…
-
0
votes1
answer2211
viewsAdjust columns of a Dbgrid
I’m having a problem to get a function where do the same as Excel (Resize columns). For example: Watch the columns spacing, huge and needless. I would like a solution in the form of a function to…
-
0
votes2
answers1204
viewsProblem with installing libraries in Delphi XE8
I was trying to install the Id3v1 and Id3v2 libraries, but when I went to install there was an error because these libraries use Units like Tntclasses, Tntsysutils, etc. So I searched the internet…
-
0
votes1
answer133
viewsSelectable text without cursor (marker) in Delphi
I wanted to know if anyone knows any Delphi component where you can place text via programming and that this text can be selected by the user, but when clicking on the text do not show cursor…