|
-
January 7th, 2009, 04:12 PM
#1
VB6 Help- Text box not working
hey im new here and I was wodering if you guys can help me... this is what I have
Im trying to make a progressbar start when I press the start buttonand when the progressbar reaches 100 on the textbox it adds
"Its Done!"
on my commandbox I have
timer1.enabled = True
And my timer1 is enabled.
in my timer1 I have
progressbar1.Value = val (Progressbar1.value) + val(5)
or sumething like that. But it works fine.
What I need now is that when the progressbar reaches 100 this will add to the textbox:
"Its Done!"
plus what ever is written on it. But if i write this
if progressbar1.value = 100 then
text1.text = text1.text & "Its Done!"
end if
but it will keep adding "Its Done!" and it will never finish. How can I make it type only one time? Thnx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|