Results 1 to 5 of 5

Thread: [RESOLVED] Statusbar text not showing up

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2009
    Location
    Hawaii
    Posts
    24

    Resolved [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!

  2. #2
    Hyperactive Member
    Join Date
    Jan 2009
    Posts
    448

    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.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2009
    Location
    Hawaii
    Posts
    24

    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)
    ...

  4. #4
    Hyperactive Member
    Join Date
    Jan 2009
    Posts
    448

    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.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Apr 2009
    Location
    Hawaii
    Posts
    24

    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
  •  



Click Here to Expand Forum to Full Width