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:21:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01094320
Message ID:
01094354
Vues:
15
No problem, and better yet, I was playing with it after I sent that last message. In its native form, it is based on the form baseclass. That may not have been desirable for you considering your existing situation of having it just be another control ON a form instead of being its own form. I copied it to a local class library and hacked the .vcx to make it based on a container instead & it works just as well. If that's something you're interested in & you're not familiar w/ the process of .vcx hacking let me know.

>I forgot about that guy. I will have to check it out. Thanks!
>
>>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