Results 1 to 4 of 4

Thread: [RESOLVED] Show an egg timer

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    589

    Resolved [RESOLVED] Show an egg timer

    I have a FlexGrid with a load of records in it - the user can click on the column headings to re-sort the grid but it takes a few seconds to execute.

    I am using

    .redraw = False and .redraw = True ....

    How can I get an egg-timer to appear between .redraw = False and True?

    Thanks for any help.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Show an egg timer

    I don't believe I've ever heard of it referred to as an Egg Timer before.

    Try
    Code:
    Screen.MousePointer = vbHourGlass

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Show an egg timer

    Code:
    Screen.MousePointer = vbHourGlass
    DoEvents
    .redraw = False
    'do your stuff
    .redraw = True
    Screen.MousePointer = vbDefault
    DoEvents
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    589

    Re: Show an egg timer

    Quote Originally Posted by Hack
    I don't believe I've ever heard of it referred to as an Egg Timer before.

    Try
    Code:
    Screen.MousePointer = vbHourGlass
    Must be a British thing!

    Thanks for the answer and to others who replied too.

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