Rename this to something like 'dbctrls_ORIGINAL.dcu' so you can get it back later if you want.


Answer: This is a known bug in Delphi 5 and will be fixed. It requires editing and recompiling the file 'dbctrls.pas' which comes with Delphi. If you did a default install it should be at 'C:\Program Files\Borland\Delphi5\Source\Vcl'.
A data-aware version of the Progress Bar control is a relatively simple case of a data-aware control, because it is read-only.
This component is derived from the version that's not data-aware and adds a few properties of the data link object it encapsulates: type TMd Db Progress = class(TProgress Bar) private FData Link: TField Data Link; function Get Data Field: string; procedure Set Data Field (Value: string); function Get Data Source: TData Source; procedure Set Data Source (Value: TData Source); function Get Field: TField; protected // data link event handler procedure Data Change (Sender: TObject); public constructor Create (AOwner: TComponent); override; destructor Destroy; override; property Field: TField read Get Field; published property Data Field: string read Get Data Field write Set Data Field; property Data Source: TData Source read Get Data Source write Set Data Source; end; function TMd Db Progress. Field Name := Value; end; function TMd Db Progress. On Data Change := Data Change; end; destructor TMd Db Progress. Free; FData Link := nil; inherited Destroy; end; In the preceding constructor, notice that the component installs one of its own methods as an event handler for the data link.
Finally, save and Build All Projects (Projects menu).
If you get an error that 'dbctrls.dcu' cannot be found then you need to go into Tools|Environment Options|Library and add the path C:\Program Files\Borland\Delphi5\Source\Vcl (or whatever your actual path to the Vcl directory is) to the Library Path.