|
-
Aug 11th, 2009, 10:07 PM
#1
Thread Starter
Junior Member
[RESOLVED] Statusbar text not showing up
I have a statusbar that is suppose to display text at different parts of a process, but the only thing that shows up is the last text after the process finishes. It seems to do this for all my long long processes. I tried sleep, but that didnt help. Any way to show the text before continuing on?
Thanks!
-
Aug 12th, 2009, 12:28 AM
#2
Hyperactive Member
Re: Statusbar text not showing up
Can you provide your current code to show the text to the label?
If I helped you please rate me.
-
Aug 12th, 2009, 01:08 AM
#3
Thread Starter
Junior Member
Re: Statusbar text not showing up
Did you want the code for the whole function? Below is the line just for the text. So i have around 5 different ones but only the "transaction complete" would show up
Code:
status.Text = "Connecting to server"
...
status.Text = "Processing Transaction"
...
status.Text = "Transaction Complete"
or
Code:
...
status.Text = "Connecting to server"
sleep(1000)
...
-
Aug 12th, 2009, 01:18 AM
#4
Hyperactive Member
Re: Statusbar text not showing up
I was actually talking about the code where u were updating the label. But you can try calling label.Update() after you set it's text property. Of course you would replace label with ur labels name(status in ur example)
If I helped you please rate me.
-
Aug 12th, 2009, 01:36 AM
#5
Thread Starter
Junior Member
Re: Statusbar text not showing up
Ooohhh ok it's working now! Thank you so much. This has been bothering me all day.
Code:
status.Text = "Connecting to server"
status.Update()
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
|