Alternative to Application.ProcessMessages
From: Christakis John (you'll_just_send_spam_at_me.if.I.tell)
Date: 11/22/03
- Next message: J French: "Re: Alternative to Application.ProcessMessages"
- Previous message: J French: "Re: How to delete a non-empty folder?"
- Next in thread: J French: "Re: Alternative to Application.ProcessMessages"
- Reply: J French: "Re: Alternative to Application.ProcessMessages"
- Reply: Nicolai Hansen: "Re: Alternative to Application.ProcessMessages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 22 Nov 2003 23:18:04 +1000
Hiya,
I have a small form with a progress bar and a Cancel button. The form is
updated by the main form with a number and this becomes the position of the
status bar. The main program may run a loop with a few thousand iterations
and update the progress bar form eact time.
I was using progressbar1.Update to update it rather than
Application.ProcessMessages, but I am not capturing the Cancel button click.
Is there a way to capture the button click without using App.PM?
ta,
cj
- Next message: J French: "Re: Alternative to Application.ProcessMessages"
- Previous message: J French: "Re: How to delete a non-empty folder?"
- Next in thread: J French: "Re: Alternative to Application.ProcessMessages"
- Reply: J French: "Re: Alternative to Application.ProcessMessages"
- Reply: Nicolai Hansen: "Re: Alternative to Application.ProcessMessages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]