Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS PROGRESS BAR CONTROL
Message
From
28/03/2000 08:47:15
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00351311
Message ID:
00351332
Views:
18
>
>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 )---
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform