Questions tagged as 'delphi'

2
answers

How do I track version number in budget?

I'm breaking my head here to get a common denominator, I have a system in Delphi with PostgreSQL, this system has a budget session I need to track the changes made in these budgets by putting version number, ie with each change requested by t...
asked by 20.02.2018 / 14:35
1
answer

Combobox in firemonkey without using FDQuery

I have a combobox of states in my register, where I connect via livebindings with an FDMemTable to save the data in the database. How could I get the index item of the selected item in the combo? The only bidirectional binding I found was Sel...
asked by 13.04.2018 / 20:37
1
answer

Delphi module for Apache 32 bits with error

I'm using Apache to upload a rest server made in Delphi, when I generate the module in Delphi in the 32-bit version, I put it in the Apache modules folder and the execution simply gives an error and does not start Apache, since version 64 bits w...
asked by 12.03.2018 / 14:48
1
answer

Use TChromium to make a browser

I want to use TChromium to make a browser with Delphi . But I can not access any page with it. I have already used the commands: Chromium1.Load('www.terra.com.br'); Also: Chromium1.Browser.MainFrame.LoadUrl('www.terra.com.br'); And...
asked by 06.11.2017 / 17:08
1
answer

Difficulties with Dll import C #

I'm having a hard time rewriting a method of a dll in C #, we bought a price checker from a manufacturer, in case it provides a dll and a sample code in Delphi. This dll has some functions among them to start the service with the reader, to r...
asked by 23.10.2017 / 12:24
1
answer

Return code of data entered immediately after INSERT

I know with java to do, but I do not find anything to do this in delphi (if possible), whenever I register a new item I search for the code by SELECT MAX ('FIELD'), but I would like to know if it is possible to return the code soon after the INS...
asked by 05.10.2017 / 19:54
1
answer

How to call function in procedure

function TForm1.VerificaExistenciaDoProcesso(NomeProcesso: String): Boolean; var Continue: Boolean; FSnapshotHandle: THandle; FProcessEntry32: TProcessEntry32; begin Result := False; FSnapshotHandle := CreateToolhelp32Snapshot(TH3...
asked by 11.01.2018 / 11:32
2
answers

Delphi - how to handle delete in the master-detail relationship?

I have two tables using Firedac TFDTable and have made the Master-Detail relationship between them which works well. In forms I have two DBgrids, one for each table, when deleting a record in DBgrid Master would like it to automatically delete t...
asked by 26.09.2017 / 21:13
1
answer

Undo the key entered by the user

In a Edit normal Delphi I want to undo the key that the user typed. If it were in the KeyPress event, just assign # 0 to the key variable. But I am and need to use the KeyDown event. In this event I can not. I've tried as...
asked by 25.10.2017 / 20:53
3
answers

Create objects in Runtime faster

I'm developing a unit for a biometric reader. When giving the CREATE, the unit create several objects in runtime within TabSheet. Everything is running perfectly, but by loading the objects you can see blinking / drawing on the screen. Has anyon...
asked by 04.07.2017 / 17:38