Questions tagged as 'delphi'

2
answers

Making a Locate of a ClientDataSet is very costly?

To make a locate of a dataset connected to the bank, it is certainly quite costly. But is it a good practice to make a locate in a dataset with data only in memory ? Or would it be better to create a array ?...
asked by 30.09.2016 / 18:33
1
answer

Is it possible to display a form through a MessageDialog? [closed]

With MessageDialog , I would like to create components (buttons) at runtime and set the size and text of the buttons of this MessageDialog . In addition, I need to display some forms according to the button that is chosen in thi...
asked by 22.10.2015 / 19:38
1
answer

Delphi XE5 Firemonkey - Problem compiling Application in Application Store

0 down vote favorite Good morning, I developed a Multi-Device application for Android and IOS, but I have a problem compiling my application in the Application Store mode to distribute in google play. Some features that work perfectly in D...
asked by 23.02.2016 / 18:13
2
answers

Knowing how many properties an INI session has?

I have an INI file which a session has multiple properties: [DLLS] Dll1=... Dll2=... Dll3=... In the example above there are 3 properties. Is there a method in Delphi to identify how many properties the [DLLS] session has?     
asked by 08.07.2015 / 18:29
2
answers

Incorrect txt file reading

Well I'm reading the following information from a txt 0016009993|GuilhermeLima|Azul|4|21|basico+completo|6 After reading I am separating the contents using the delimiters "|" to separate in memos, with the code below. begin Linha.De...
asked by 23.12.2015 / 12:34
1
answer

Enter the name of the product in Edit and get the image of the bank in the TImage component

I'm doing a system where I need to search for the product name. Below the edit appears a grid for auto complete, then when I press Enter in the product name, the grid must appear in the TImage image, which I recorded the path in time of the...
asked by 24.08.2014 / 19:14
1
answer

Monitor service with Borland Socket Server

I'm developing a three-tiered application in the delphi-7 , using the TSockecConnection component. Is it possible to monitor connections, identify IP of connected users, as well as knock down some users?     
asked by 02.04.2014 / 19:39
2
answers

Hide Subitems from a ListView?

Is there any way to hide subitems and their data from a listview ? I tried to start the code with something like this: for I := 0 to Form1.LV1.Items.Count-1 do begin if Form1.LV1.Items[I].SubItems[5] = 'OK' then...
asked by 25.04.2014 / 03:54
1
answer

Storing images in MySQL and dealing with file size

I was able to store images in my bank, the problem now is just to try to make the images only enter the bank up to a certain size, assuming: 800kb. How to proceed? Follow the code: Botão Gravar: procedure TfrmFoto.SpeedButton1Click(Sender:...
asked by 11.07.2014 / 15:48
1
answer

How to make the user not get an Invalid TXT?

Follow the code: procedure TfrmGrid.btnLoadClick(Sender: TObject); var txt: TextFile; l, treg : integer; lTemp: String; begin treg := 1; l:= 0; AssignFile(txt, lbCaminho.Caption); Reset(txt); while not eof(txt) do begin...
asked by 09.05.2014 / 14:31