CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2001
    Posts
    16

    To Get Focus to a Command Button

    Hi everybody,

    I am working on a vb project to upload data. While uploading data, a progressbar shows the progress. I have placed a command button which will be made visible when the uploading begins. Command button is placed to stop the uploading if the user desires. My problem is, i am not able to get the focus to this button when the uploading begins. When progress bar is running, how to shift the focus to command button. Please help.

    thanks in advance



  2. #2
    Join Date
    Jan 2000
    Location
    Saskatchewan, Canada
    Posts
    595

    Re: To Get Focus to a Command Button

    Use DoEvents

    David Paulson


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

Featured