data-aware

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.) ...

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 property, TDBRadioGroup's "value" is stored in a TStrings that you have to populate manually. ...

Do you use Data-aware classes?

I'm using VB6. Data-aware classes refers to classes whose DataBindingBehavior or DataSourceBehavior property is set. I learned this concept from MSDN and am wondering usually when should we use this technique of Data-aware classes? Or just like the Data Environment Designer which is just ignored by most developers? ...

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 no good data-bound version. DevExpress's QuantumGrid is famous for the rich feature set b...

Preferable way to write Delphi database apps with transactions & data-aware components

Hi, 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 some research on transactions (from general point-of-view), then I humbly make a conclu...

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 common code (libraries) There is no OOP (except for some small areas), code reuse it...