Results 1 to 2 of 2

Thread: forms and refresh

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2001
    Location
    Linkoping, Sweden
    Posts
    50

    forms and refresh

    I have noticed that my forms (windows applications) doesn't refresh properly even if the command Refresh() is placed within a while end construction or something like that.

    The form refreshes at first but after a while the form just "hangs" until the processing is ended.

    Does anyone know how to solve this, if possible, please?

    /Anders

  2. #2
    Member
    Join Date
    Jan 2003
    Location
    Beer City
    Posts
    33
    you might want to place a

    System.Windows.Forms.Application.DoEvents()

    in your loop

    i use this when I want to display a counter counting through the rows of a data set etc.

    tal mcmahon
    its called the "F1" key-- use it

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