Questions tagged as 'delphi'

1
answer

Delphi7 source conversion problem for DelphiXE7

I have a certain source code to control the Gertec brand microterminal that was compiled in Delphi7 and everything works fine, when I compile in delphi XE7 some problems occur. For those who do not know micro terminal is this . I use the...
asked by 25.07.2017 / 20:58
2
answers

Release object in a function - Memory Leak

I'm starting in the DataSnap world and I came across a situation that can not find a solution. My code is with memory leak, because I can not release the objects. if I release the objects the access error violated in the result. function TS...
asked by 27.07.2017 / 15:16
1
answer

Auto complete DBLookupComboBox

I have a DBLookupComboBox2 with the following information: 42-batata 45-cebola 78-caneca 49-faca 79-livro If the number is entered the search is done, but with letters it does not work. For example I want to type "bat" and have already sele...
asked by 23.08.2017 / 13:28
1
answer

How to pass parameters qry.filter Delphi

I need to filter data from a grid, but I need to pass by parameter. if it is necessary to return all the data.  I always do the following to show all the data in the Grid Example: SELECT FROM TABELA A WHERE (A.NUM = :parâmetros) OR (:parâmetro...
asked by 22.09.2017 / 14:25
1
answer

PGbouncer does not connect via service on windows

I installed pgbouncer as a service on windows 10 using: pgbouncer.exe --regservice <pgbouncer.ini> Placing the ini path and from the folder where the pgbouncer exe is. The service is installed normally and I can start it by the wind...
asked by 27.06.2017 / 21:45
2
answers

How to sort Record in Delphi (similar to ORDER BY)?

I bring some bank records with a specific order and play into a vector of type record ". Then I need to add more items to that vector by keeping the initial sort. Since the ordering is done in SQL the records that are added then en...
asked by 30.05.2017 / 15:47
1
answer

How to fade some components in the background to highlight a TPanel on them?

I have a main screen, with some TPanels and other components, and one of these TPanels would like to create a login screen. When calling this login TPanel over the other components of the form I am disabling the components from below, as if it w...
asked by 14.06.2017 / 16:47
1
answer

Delphi Add line in SQL error LIST OF BOUNDS (3)

I have a problem adding a line in my SQL LIST OF BOUNDS (3) Delphi : clausulaIn := 'AND A.NNUMEMAPAF IN (0'; while not Q_Mapas.Eof do begin clausulaIn := clausulaIn + ',' + IntToStr(Q_MapasNNUMEMAPAF.AsInteger)...
asked by 28.04.2017 / 16:27
1
answer

Apply text style of a RichEdit in Delphi

I need to bold some words within a RichEdit in Delphi, it works normally when there is no line break. But when I enter a line break I can not correctly select the word to apply the style. All the examples I found have the same problem....
asked by 28.04.2017 / 16:48
1
answer

How to assign an image to a ListView Item?

How to assign an Image to a ListView Item? I want to put an image according to the status of the process. Initially only getting statusbar with external components, but I can not use external. Then I will use an Image according to the status wil...
asked by 07.04.2017 / 20:45