Questions tagged as 'delphi'

2
answers

Delphi XE Firemonkey mobile app - How to decrease the size of an image?

The problem I face is that I allow the user to insert an image from their mobile device gallery, some images are too large to be recorded on a bench, taking into account the wonderful 3g signal quality. The temporary solution I found was to gene...
asked by 20.10.2015 / 15:07
1
answer

How to solve problems in TIdFTP upload in Object-Pascal?

I have found a way to upload to my FTP server, but I have noticed that files with a weight greater than 1 KB arrive damaged, so I ask for your help to solve my problem, the mode used was the image below, how to resolve this problem?     
asked by 16.01.2016 / 14:05
1
answer

Add specific online text with repetition

In the image below we have the following case the person types in the two edit fields. And you click Generate Recommendation values are written in a Tmemo.  The second step would be to enter a new information in the edits and when clicking the...
asked by 25.09.2015 / 21:42
2
answers

Remove fields created at run time

I have the following function to clean the common edits : for I := 0 to componentCount-1 do begin If(components [i] is Tedit) then Tedit(components[i]).Text := ''; end; But I have edits created at runtime, and would like them to...
asked by 01.10.2015 / 16:13
2
answers

Extract JSON array data on Android received by DataSnap

Good afternoon. I would like to know how I can extract the data received by the server using Delphi's DataSnap. I'm doing this, but it's returning an error: lista_versoes = dsProxy.getVersoes(); TJSONObject json_versao = new TJSONObject();...
asked by 15.03.2015 / 16:44
2
answers

How do I know if there is a selected row in the DBGrid?

How can I tell if there is a selected row in my DBGrid. In this case below: Thepointerisselectedinthedataset,butIwantedtoknowwhenthegridlookslikethis: In this case would it be only if it the line is "painted", if so how to know? I tried...
asked by 14.07.2015 / 04:31
1
answer

Identifying a String as a Pascal name

I have 50 array type variables and I have a method that will receive a String containing a name from an existing variable. I would like to know what is the ideal way to identify the value of the String received as one of the 50 vari- ables decla...
asked by 29.10.2014 / 14:14
2
answers

Loop + Illegal expression in evaluator

I'm downloading multiple files (one after the other) for a loop , but as soon as I download the first one, it crashes. Here is the loop : for x := StrToInt(version)+1 to StrToInt(version2) do begin url := baseurl+'/'+IntToStr(x)+'.7z...
asked by 19.10.2014 / 13:00
2
answers

Routine in Delphi Application Server with UNIGUI

I have an application developed with UNIGUI components for Delphi XE5 and I would like to know how I can run a routine on the application server, without necessarily being in the browser interface. One of the routines is communication via socket...
asked by 09.09.2014 / 14:11
1
answer

I can not load firebird data in Delphi XE2 using TZQuery

I have a TZQuery created, and I try to load the fields SEQ_CTE and SERIE_CTE according to the code below: ZQuery1.sql.text := 'select * from C000004 where filial = '' + frmprincipal.spanel1.caption + '''; ZQuery1.open; ZQuery1.exec...
asked by 17.08.2014 / 22:30