Re: Refresh Problem
- From: "Jeff Grippe" <jeff@xxxxxxxxx>
- Date: Fri, 6 Jul 2007 13:47:46 -0400
I'll try it. Shouldn't it go after the loWindow.refresh and not before which
is where the MESSAGEBOX is now?
Thanks,
Jeff
"Fred Taylor" <ftaylor@xxxxxxxx!REMOVE> wrote in message
news:OymFHF%23vHHA.4572@xxxxxxxxxxxxxxxxxxxxxxx
Try using a DOEVENTS in place of where you had the MESSAGEBOX.
--
Fred
Microsoft Visual FoxPro MVP
"Jeff Grippe" <jeff@xxxxxxxxx> wrote in message
news:138sjiet7h4qv54@xxxxxxxxxxxxxxxxxxxxx
Hello and thanks in advance for the help.
I am having one of those problems which goes away when you try to observe
it.
I have a shared messaging application in which the data can be updated by
any user. The user must lock the message before updating and then unlock
it when they are finished. When they press the lock button, all other
users viewing the message should have their title bar changed to read
"LOCKED BY USERX". When the user unlocks the message the title bar should
say "UNLOCKED".
The changing title bar works eratically and the problem seem to be with
the call to loWindow.refresh.
If I put in a debugging statement such as:
=MESSAGEBOX("Content.RWUser is " + ALLTRIM(content.rwuser))
right before loWindow.refresh,
It works every single time and as soon as I close the messagebox, the
refresh does what it is supposed to do.
If I take out the MESSAGEBOX statement it won't always refresh the
window.
Does anyone have any ideas about why refresh would behave eratically at
times?
Thanks,
Jeff
.
- References:
- Refresh Problem
- From: Jeff Grippe
- Re: Refresh Problem
- From: Fred Taylor
- Refresh Problem
- Prev by Date: Re: Refresh Problem
- Next by Date: Re: Refresh Problem
- Previous by thread: Re: Refresh Problem
- Next by thread: Re: Refresh Problem
- Index(es):
Loading