Results 1 to 3 of 3

Thread: wait notice

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    wait notice

    hello!
    could have a example on how to use progress bar?
    or something text message to the user that is when
    button is click just appear the message ==> "Please wait..."
    i tried on the label but i can't see.

    tnx masters.
    *****************
    VB6,PHP,VS 2005

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: wait notice

    It's likely that you set the Text of the Label and then proceeded to perform some long-running operation in the UI thread. In that case the UI probably didn't have a chance to refresh itself to display the new text. If you call the Refresh method of your Label after setting the Text that will force it to repaint itself.

    That said, depending on the circumstances you may want to consider performing your long-running operation in a worker thread. Far more information about exactly what you're doing would be required to advise further.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

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