I have the following code to open a .shp file and to plot it in a MapWinGis Map1 component.
procedure TForm1.Button1Click(Sender: TObject);
var shp: Shapefile;
HandleLayer: integer;
begin
shp:= CoShapefile.Create;
shp.Open ('C:\Us...
I have a problem that I can not solve at all. With Delphi XE8 , I have already done livebindings to connect components TEdit with non-visual objects, but I can not connect screen components with objects contained in other obj...
I have a StringGrid1 that fill in the data and from that I calculate the total and average. In figure 1, it shows working correctly. However I may not want to put a number in one of the cells, which causes the image error 2.
The code...
I have a service running in Delphi in DataSnap REST , to access any function of REST via link would be like this:
servidor:porta/datasnap/rest/classmethods/funcao/parametros
I needed to change the url from
/datasnap/rest/clas...
I have the following code that changes image from time to time.
if Timer1.enabled = true then
begin
Gauge1.Progress := Gauge1.Progress +1;
if Gauge1.Progress=10 then
Image1.Picture.LoadFromFile('C:\contas_a_pagar\img\home.jpg');
if Gau...
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...
I have a combobox that I read a directory and bring the names of the files found:
output:
demons.txt
arch.txt
elo.txt
So far so good,
but I do not want the combobox to appear in .txt , how do you remove it?
I'm developing an application in delphi 10 seatle with bd firebird and it compiles and runs normally. But when you put it on another computer it gives an error and the address of the memory appears. If I install delphi 10 seatle on that computer...