Questions tagged as 'delphi'

2
answers

How to customize ListView at runtime?

I'm having a problem in an example where I need to add a Text to ListView that comes from one XML per code but does not show up when I run. Wheel, but some warnings appears and the field does not appear. See below: procedure Tf...
asked by 22.03.2017 / 15:07
0
answers

Drag TreeViewItem to Form

I am putting together a project with FireMonkey . In this, I want to drag a TreeViewItem to the empty area of the form and then execute other options ... The famous DragDrop . I can not do this and I did not find any documentation about i...
asked by 24.03.2017 / 19:18
0
answers

Program compiled in Delphi does not open

Good afternoon, I have a software written in Delphi and I noticed that the following problem occurs: If you use the option to compile in debug mode, the executable comes with 32MB and works correctly. If you use the option to compile in...
asked by 10.01.2017 / 18:52
1
answer

Doubt referring to circular reference of the type client - room

Well, I had asked but I think it was not clear so I'll edit it as I suggested, basically I wanted to do an application in Delphi using a TSala class and several TPessoa classes, however, the class TPessoa needs to refer to TSala to be able to pi...
asked by 23.12.2016 / 05:35
0
answers

How to create a Windows service in the installation [closed]

I'm going to distribute my Delphi application through a default installer created with Install Shield, but it needs to create a Windows service to work. I know how to create this service manually, but not how to create it by Install Shield. C...
asked by 17.11.2016 / 15:38
0
answers

How to manage multiple transactions with FireDAC?

Greetings. I have a TFDConnection and would like to have two TFDTransactions in my project. TFDConnection is not connected to any Transaction, only the Transactions are connected in Connection. Only TFDQuery is linked in Connection and also i...
asked by 19.08.2016 / 16:34
1
answer

Export report to PDF

Use the pReport of the extinguished VTK Tools as report generator in Delphi XE7 . It has no native export to PDF . Today, I export to PDF by calling a virtual printer with parameters. But I do not want to have to inst...
asked by 25.11.2016 / 12:43
2
answers

TDictionary, how to destroy it

I have tried every way to destroy TDictionary but whenever I have ReportMemoryLeaksOnShutdown active it always leaves something undetermined. I already tried to run the list and destroy item to item. Code: with foDict.GetEnume...
asked by 03.11.2016 / 15:00
0
answers

Error creating form with firemonkey border

Using Delphi's RAD Seattle update 1 when creating a form at runtime, if the main form is with the BorderStyle property other than none I get an error. This problem happens using firemonkey and compiling for Android. To reproduce the error i...
asked by 22.12.2015 / 10:48
1
answer

Problem solving Delphi XE6 results

Hello, I made a screen where I have 4 buttons is muted positioning them according to a Random, works most the images on the screen does not update. procedure TfrmJogo01.AtualizaImagemTela(caminho, nomedaimagem: string;ComponenteImagem: TImage)...
asked by 21.05.2016 / 00:08