Questions tagged as 'delphi'

1
answer

Remove components at runtime in Delphi with Android

When creating a TButton dynamically at run time inside a TVertScrollBox. When I need to delete this button it will not disappear from the screen. This problem only occurs by running the application on Android (Windows works correctly). To del...
asked by 15.11.2017 / 02:48
2
answers

Difference in the use of packages in Delphi / Lazarus and in Java

I would like to know the difference in the use of packages in Java projects for the use of packages in Delphi / Lazarus projects? In Java I know what it's all about separating the classes into folders, where the existence of the same with...
asked by 26.10.2017 / 16:26
1
answer

Select printer when printing a HierCubeChart

I have the HierCube library, from this library I use a HierCubeChart . Until then no problem. But when I print the graph with the HierCubeChart.Print command, I can not allow the user to select the printer to be printed. Finally I want...
asked by 30.10.2017 / 11:43
1
answer

Can a whole variable receive a conditional value?

I have a situation where something like this happens: procedure FrmTeste.Teste; var iSinc: LongInt; const ACAO_PROX: LongInt = $0008; begin iSinc := iSinc or ACAO_PROX; end; I could not understand which value receives iSinc when en...
asked by 11.10.2017 / 22:33
1
answer

How to open PDF in Delphi WebBrowser?

Delphi WebBrowser , I run a .html file, which is a PDF reader. I need when I open the reader, load a PDF stored in a Delphi string variable. procedure TForm2.Button1Click(Sender: TObject); var arquivo : string; begin arquivo := 'teste.pdf'...
asked by 27.09.2017 / 16:31
1
answer

Move the mouse via programming

Move mouse to control (example a button) in Delphi with Firemonkey . I tried this function: procedure TFuncoes.MouseParaControle(Controle: TControl); var // Posiciona o mouse em cima do objeto definido em IrPara: TPoint...
asked by 19.09.2017 / 12:21
1
answer

Oracle - Error connecting to ADOConnection Delphi 10.1 (Berlin)

I have an application that works on Delphi XE2 using the database connection component ADOConnection . When I migrated to Delphi 10.1 (Berlin) , it did not show any error. The connection exists, but does not connect, and displays the followi...
asked by 18.09.2017 / 14:56
1
answer

Google Search Results + Delphi 10.2 Tokyo

I searched for Google APIs to create a code that shows Google results in Delphi 10.2 Tokyo applications, but found no recent APIs . I need the following, the user types in a Edit the term that he wants to search and in a Listv...
asked by 05.09.2017 / 14:49
1
answer

How can I display a PDF from Delphi? [closed]

I need the PDF to be displayed on the Delphi application screen, without the user needing to have other software installed, such as Adobe Reader or Foxit. I use Delphi XE 10. Which component should I use?     
asked by 05.09.2017 / 16:01
1
answer

Delphi 10 Seatle error while compiling RxLib

Environment: Windows 10, Delphi Seatle 10 RxLibrary ( link ) I'm trying to compile a system originally developed in D7, in Delphi Seatle and I'm getting the following error: Unit RxDateUtil was compiled with a different version of myapp.R...
asked by 19.07.2017 / 18:31