What is the easiest way to replace a standard DBGrid with a DbAltGrid in my project?
Create a backup copy of your project. Place a TdagBackup component on the same form the original TDBGrid resides on and set its Grid property to that grid. Right-click the TdagBackup and select Convert from the popup menu to turn the TDBGrid into a TDbAltGrid component. After you have done that, you can delete the TdagBackup component from the form, if it is no more needed. Switch to the Code Editor. Select Search | Replace in the main menu or press Ctrl+R to display the Replace Text dialog box. Replace all the occurrences of “TDBGrid” in the unit with “TDbAltGrid”. When I scroll an ADO dataset the alternate row colors are incorrect.