Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to caption over a progress bar
Message
De
07/02/2006 13:08:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01094320
Message ID:
01094346
Vues:
25
Hi Terry,
Have you considered using Fox's thermometer class for this purpose? Cheesy sample full of bullet holes provided for your consideration.
o_thermometer1=NEWOBJECT("_thermometer","c:\program files\microsoft visual studio\vfp98\ffc\_therm.vcx", "", "my title", 50, 1)
o_thermometer1.visible = .t.
o_thermometer1.update(1, "mytask")
o_thermometer1.update(40, "mytask")
o_thermometer1.update(49, "mytask")
o_thermometer1.update(50, "mytask")
o_thermometer1.release()
Adjust your path accordingly to find the class library.

>My project has a progress bar (OCX 5) along the bottom of the form. The restof the form is a list control (OCX). No buttons - no room for a "Label".
>
>As the progress bar marks the projects "march" through a process, I would like to "echo" revalent text on top of the prohress bar.
>
>Unfortunately any object (label, container,etc), except a "form" is "forced" under or behing the progress bar.
>
>I was thinking of overlaying a semi transparent form with a "Label" control along the width of the progress bar. This produces a additional item in the task bar.
>
>Is there another way to do this? Is there a way to hide the "shortcut button" a top level form places in the task bar?
>javascript:MessageSubmit()
>[Save this message so it will appear for other members immediately]
Paul A. Busbey
Victoria Insurance
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform