Questions tagged as 'delphi'

1
answer

Repair on Checked Tables

Follow the code: status := DataModule1.ZQuery2.FieldByName('Msg_text').AsString; while not DataModule1.ZQuery1.Eof do begin if status <> 'OK' then begin DataModule1.ZQuery3.Close; DataModule1.ZQuery3.SQL.Clear;...
asked by 21.05.2014 / 15:57
1
answer

How to capture the HTML of the open page in Chrome with Delphi?

I need to capture through delphi the source code of a particular HTML page that was currently open in google chrome. In Internet Explorer I know how it does, from chrome I do not think anything like it. Any suggestions?     
asked by 12.05.2014 / 04:31
2
answers

StringGrid Delphi - "carousel"

I would like to do the following with my StringGrid, I have a register of 100 products, and I would like it to show 10 products at a time, in a kind of infinite loop. Does anyone know how to help me?     
asked by 20.10.2017 / 00:10
2
answers

What are the atomic transaction methods in Delphi?

I worked with ASP.net MVC a lot on the front end, whenever I was debugging I came across methods like: transact , commit and rollback . When I talked to a former co-worker who programmed Delphi I came across a question t...
asked by 31.05.2017 / 16:37
2
answers

Zip files with the same name inside a folder

I wonder if there is a possibility of doing the following scenario in Delhpi: I have a folder and inside it I have the following structure: foto.jpg foto.png imagem.jpg imagem.png Is it possible to zip by name? so ... zip only the files...
asked by 12.06.2018 / 21:18
2
answers

Assignment of value to variable [closed]

I have two global variables, which we'll call A and B , when I make the following assignment: A:= 5; B:= A; Whenever I change the value of A , the value of B also changes. If I do A:= 10 B becomes 10 as well. How can I change t...
asked by 24.10.2018 / 23:09
2
answers

How to pass a parameter from the server to the client in Datasnap?

How can I send and receive data using datasnap? I have a database MySql, a Mobile application in Delphi Seattle with a datasnap server, the connection works and I can get the data from the bank and play pro mobile, but my question is: I need to...
asked by 28.03.2016 / 14:54
1
answer

Capture URL using Admob code

I want to write to url of component BannerAd after doing Load, I realize that the component passes url to the device's default browser. The code is as follows: unit Unit1; interface uses System.SysUtils,...
asked by 18.01.2016 / 19:46
1
answer

ListBox with JSON data - Delphi mobile

I have this data JSON which returns from a webservice query: [{ "id":"1", "usuario":"teste", "senha":"teste", "chave":"d59876jh", "email":"[email protected]" }] I need to popularize the Items of a ListBox...
asked by 05.11.2016 / 02:01
1
answer

capture JSON object sent via POST in Mormot request payload

I am sending my object JSON via POST using ExtJS 6.01 . my application server was done in morMot in Delphi Seattle . Sending in GET mode usually takes the parameters that come with url . But sendi...
asked by 18.02.2016 / 21:00