Questions tagged as 'delphi'

2
answers

DBGrid Delphi Seattle

I installed a trial of Delphi Seattle and compiled my system, but I realized that when opening a certain query the column is not the size I determined previously. When compiling in Delphi 7 the columns are the correct size. Is anyone else exp...
asked by 18.04.2016 / 13:58
1
answer

How to change driver letter at runtime in delphi

Friends, I decided to simplify the use of a system in Delphi , using banco de dados and the executable available in a file in pen drive . With this, I have my tables in Access , and arranged in a DataModule with...
asked by 12.01.2016 / 20:08
1
answer

Sql Code Syntax Highlighting

Hello, someone knows some component (or function) that can highlight certain parts of a given text (Highlighting). I am implementing a system where the user can execute some SQL commands such as SELECT , UPDATE , INSERT and...
asked by 18.12.2015 / 17:36
2
answers

FireDAC Refresh or RefreshRecord

I'm going through an unusual situation with FireDAC. I use Delphi 2009 + FireDAC v8.0.5.3365 and only one component ADQuery with DataSetProvider and ClientDataSet . After adding a record through ApplyUpdates(0) ,...
asked by 29.12.2015 / 18:52
2
answers

Destroying Tedits at runtime

I have an application that creates TEdits from 1 to 15 I would like them to disappear, but when the person clicks the button to create them they come back .. They were created as follows: ArrayEdit[x] := TEdit.Create(Self); ArrayEdit[x].Par...
asked by 06.10.2015 / 14:29
2
answers

Is it possible to improve the writing of this code?

I have the following code below: memo1.Lines.Add('def' + ' ' + nome + ' ' + '('+ variavel1 +',' + ' '+ variavel2 + ',' + ' ' + raster1 + ')' +':'); That results in something like this: def nome (variavel1, variavel2, raster): But I wou...
asked by 01.02.2016 / 12:22
1
answer

What is the difference between SaveDialog and FileSaveDialog in Delphi?

I have already used both the SaveDialog and FileSaveDialog components for the same tasks, without noticing any differences between them, except that FileSaveDialog is not compatible with Windows XP, the coexistence of the two components was a fe...
asked by 04.07.2015 / 01:18
1
answer

Interface with inheritance in Delphi

I need to make a multiple inheritance in Delphi. Reading some articles, the most appropriate way is to do an interface. How do I do this, knowing that we have the classes below as an example: type TPessoa = class //atributos e métodos end;...
asked by 23.05.2015 / 08:13
1
answer

Is it possible to use C # + Client Delphi server?

C # has a very good framework , this would help a lot when creating a webservice server between the client and the database. Delphi already has many components that help when developing a commercial automation application. Is there any im...
asked by 11.03.2015 / 17:35
1
answer

Is there a way to generate release versions in the old Delphis directly by IDE?

In newer versions of Delphi we can easily generate a version of the executable for distribution just by performing the compilation by Release . This removes several useful points for the debugger and leaves the executable smaller. Is th...
asked by 29.03.2014 / 00:55