Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active-X contol Progress bar
Message
De
22/05/1997 14:32:21
 
 
À
13/05/1997 10:36:41
Marcel Duijm
Md Software Service
Amsterdam, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00031939
Message ID:
00033314
Vues:
38
Hello Marcel! After 15 minutes of hard research I've nice results: an Active-X Progress bar can display itself during long SQL-query or Append from... What should you do: 1. Place Progress bar on the form and name it as oleProgressBar. 2. Add new method to the Form called UpdateBar 3. Place an following code in this method: thisform.oleProgressBar.value=_tally return .t. 4. In Init event of form place the following code: thisform.oleProgressBar.max=reccount() && or expected maximum of records 5. In your SQL query place the following addition: select *, thisform.UpdateBar() as update from ddd into cursor tmp thisform.oleProgressBar.Value=_tally I've tried this trick and it work fine on my computer... hope this help! Have a happy day Vladimir Shevchenko > I hope one of you can give me some help about getting Active-X controls to > work on my forms. > Is there documentation about the 'progressbar'? Is what i want not possible > at all? Please, help me
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform