>
>First create a subclass of the progress bar by dropping it on a form. Otherwise, under runtime, if you try to add that object to a form, you will get an error.
>
Forgive me if I understand this wrong, but to add a ProgressBar to a form under runtime you can simply do this:
Thisform.AddObject('oProgress1', 'olecontrol', 'MSComCtlLib.ProgCtrl')
With Thisform.oProgress1
.Height = 20
.Left = 146
.Top = 116
.Width = 325
.Visible = .T.
EndWith
---( Mårten Törnquist )---