Questions tagged [data-aware]
26 questions
17
votes
7 answers
Using Delphi data-aware components - pros and cons
I want to know your opinion about using data-aware components in projects. Which are the 'strength' and 'weak' points of developing applications(win32 and web), by using Delphi and data-aware components(from Delphi's standard suite or third-party)?…

RBA
- 12,337
- 16
- 79
- 126
14
votes
9 answers
Are there any good free/cheap Delphi grid controls?
I gave up on Delphi's DBGrid nearly a decade ago because it is simply no good. Since then, I have used Virtual TreeView which offers a lot of value but it has a few issues. Like the current state of development (e.g. None) and the fact that there is…

Cobus Kruger
- 8,338
- 3
- 61
- 106
9
votes
5 answers
Preferable way to write Delphi database apps with transactions & data-aware components
What is the preferable way to write Delphi database applications using transactions and also data-aware components?
I have to write a client app that access InnoDB tables, and do some master-detail kind of things inside transactions. After doing…

Cocin
- 153
- 2
- 6
8
votes
5 answers
How can I get a dataset of in-memory objects?
Does anyone know of a TDataset descendant that works with Generics and RTTI, so that I can write code like this, and make use of data-aware components in the GUI? :
...
ds:TDataset;
...
procedure DoStuff;
begin
…

Wouter van Nifterick
- 23,603
- 7
- 78
- 122
7
votes
1 answer
Is there a data-aware tab control available?
Data-aware controls can be linked to datasets to display data contained in fields in the current row, or in some cases, data from one or more columns along multiple rows. And the TTabControl lets you apply the same set of controls to different sets…

Mason Wheeler
- 82,511
- 50
- 270
- 477
7
votes
2 answers
Example of Delphi refactoring involving data aware controls and datamodules with direct access to db tables
I am trying to define the best way to refactor the project I am working on.
Due to lack of good design almost all project is made up of:
1) forms containing business logic
2) huge datamodules (1 per form + some extra ones)
3) some units that contain…

UnDiUdin
- 14,924
- 39
- 151
- 249
3
votes
2 answers
Delphi (VCL) Generics and data binding?
Does anyone know if Delphi XE (I'm talking VCL here) has any Generic Collection classes that work with data-aware controls? In other words, are there any Generic classes, like TObjectList<> that can be assigned to TDataSource.DataSet, or something…

Dan Thomas
- 831
- 1
- 7
- 11
2
votes
1 answer
need a truly data-aware and data-driven grid for .NET that uses GUIDs as row-handles
I am looking for a data-aware grid for .NET that has been optimized for repeated changes of the underlying dataset. I will give an example to show what I mean by optimized in that context, since almost all grids let you change the datasource. But…

Tim
- 5,371
- 3
- 32
- 41
2
votes
2 answers
Delphi7 TMS TDBAdvGrid Sort data when column header is clicked
I'm a newbie into Delphi and i need an advice.
I'm using a TMS TDBAdvGrid and i need to sort the data when the user is clicking the header of a column. I setup the sort settings of the grid and i write code for the onclicksort event, but it is not…

Andrei
- 23
- 2
- 5
2
votes
1 answer
Can I set up database connections in Qt without writing code (like in Delphi)?
Although it is comparatively hard to write in C++ than in Pascal I'm really attracted by multi-platform support of Qt. I can connect to an MSSQL server running on Win2003 server from Linux or I can connect to a PostGreSQL server running on Linux.…

Celal Ergün
- 955
- 2
- 14
- 30
2
votes
3 answers
How to make TDBCheckBox update its DataField immediately after click?
I have a form with several controls where the first one is a TDBCheckBox that is bound to DataField := 'enabled'.
When the checkbox is clicked I want all the remaining controls to be enabled / disabled.
procedure…

Jens Mühlenhoff
- 14,565
- 6
- 56
- 113
2
votes
2 answers
Is there a TDBComboBox equivalent that goes by ItemIndex?
In the helpfile entry for TDBComboBox, it says that the text of the selected option becomes the new value for the field. Is there any similar control that goes by ItemIndex instead of text? (To represent an enumerated type, for example.)

Mason Wheeler
- 82,511
- 50
- 270
- 477
1
vote
1 answer
Can the TextHint property on a TDBEdit be made to work
I've noticed that it's possible to set the TextHint property on a TDBEdit in code (it's not visible in the Object Inspector), however it doesn't display, is there an easy way of making this work?

Alister
- 6,527
- 4
- 46
- 70
1
vote
2 answers
How do I determine when a record is inserted in a TDataSet?
I am writing a grid control that will display the contents of either a TDataSet or a TObjectList. When you only need to support TDataSet, things are quite simple:
Link to the dataset via a TDataLink descendant.
When painting the contents of the…

Cobus Kruger
- 8,338
- 3
- 61
- 106
1
vote
1 answer
Does a data-enabled radio group component exist that goes by ItemIndex?
I'm replacing several components in one of my forms with data-enabled versions, and it was a bit of a surprise when my new TDBRadioGroup didn't link up with the numeric field it was assigned to. Turns out that instead of going by the ItemIndex…

Mason Wheeler
- 82,511
- 50
- 270
- 477