Questions tagged as 'delphi'

2
answers

Avoiding two processes of the same application in Pascal

What is the most feasible way to identify the processes of my application in memory and terminate them if there is more than one execution. I use the Lazarus IDE platform (looks like Delphi), which supports the object-oriented Pascal programming...
asked by 09.12.2014 / 03:43
2
answers

Error posting through Delphi

I have a table that only has one record this table I save the system parameters it only has one item saved and its item number will be greater than 1 soon it does not have a primary key , but when I try to change the system parameters it prese...
asked by 12.07.2017 / 14:16
3
answers

Authenticating users through a form with a connection to a database is secure in relation to crackers?

I would like to authenticate users of my program using a form with connection to a sql server database but I do not know if it is a secure way against unauthorized copies. Authentication will be done in a common way with username and password, t...
asked by 13.07.2017 / 20:15
1
answer

Only install the app without overwriting the sqlite bank that is already being used

I'm developing an application using Delphi Tokyo for Android. But when compiling, it always takes the sqlite database and writes the which is already full of data. As this app goes to the client, I would like to know how to update the pr...
asked by 25.08.2017 / 22:31
3
answers

How to change color of a Text in a ListView?

I need my ListView to identify the values of a Text item, for example:, "Full" / "Pending" and make each one have a different color inside the ListView. I tried to format by code, but I could not, I saw that in .VCL there is the CustomDrawSubIte...
asked by 23.03.2017 / 19:54
1
answer

How to move android firemonkey files?

I need to move a file from the system folder to another folder. I have a BD inside the system folder, I want to generate a backup, so I want to copy the BD.db3 to another folder and then compact it. My question is how to move the file?   ...
asked by 07.03.2017 / 13:55
1
answer

Printer Driver is not specified

I am using tsclib.dll to print labels on Bematech LB-1000. In the procedure openport () already gives the error Printer Driver is not specified. The printer is local, USB port and I am passing its name as a parameter like this: openport ('...
asked by 07.02.2017 / 14:14
1
answer

Frame Replication [Error: Component already exists]

I have a form in delphi and wanted to click a button a pre-created frame was added dynamically several times. I'm trying through this code: procedure TMain.Button1Click(Sender: TObject); var i:integer; frame:TFrame; begin for i:=0 to 5 do...
asked by 20.12.2016 / 19:23
1
answer

How to set the size of a page with RaveReport

I have a project in Delphi 2010 in which I use RaveReport to perform PDF reports, my question is the following and it is possible to set the% size of the%% of% of the PDF page. I tried this but it gives error: var PWidth: Double; PWidth :=...
asked by 19.10.2016 / 17:55
1
answer

How to remove Mask in Delphi from a MaskEdit

I need to remove the dot and dash of a MaskEdit in Delphi. The mask is ##. ### - ##     
asked by 12.07.2016 / 17:34