[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!
Re: Statusbar text not showing up
Can you provide your current code to show the text to the label?
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)
...
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)
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()