Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.refresh
Message
From
25/02/2004 14:08:01
 
 
To
25/02/2004 10:01:53
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00880542
Message ID:
00880808
Views:
13
The refresh tells the form to repaint itself and it's controls, it does not tell the form to clear itself of information.

Try this:
CLEAR
DIR 
WAIT WINDOW
CLEAR WINDOW
ThisForm.Refresh()
Alan

>What I had HOPED to see was for the form to go back to the original screen (form) when I said Do Form xxx.
>
>The user could select a command button, some processing / report or something happens, then when they press a key for the Wait Window, the form would go back and look exactly as it did when I said Do form xxx.
>
>I can NOT get the form to go back to that original condition.
>
>Try it. Create a simple form with one command button. On click for that button put:
>
>CLEAR
>WAIT WINDOW "Press any key to clear results"
>ThisForm.refresh
>
>
>The form does not come back.
>
>I very much appreciate your response to my question and I hate to keep asking, but I can not get this to work!!
>
>Thanks
>Joel
Previous
Reply
Map
View

Click here to load this message in the networking platform