Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.refresh
Message
 
To
24/02/2004 21:29:34
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00880542
Message ID:
00880576
Views:
19
>I am not sure what I am doing wrong.
>
>I built a new form with one command button NOTHING ELSE
>
>on the command button click I put
>
>CLEAR
>DIR
>WAIT wind
>Form.refresh()
>
>
>The form does NOT refresh after I hit a key from the wait wind
>
>THe DIr command results stay on the screen (in the form) and thisform.refresh or form.refresh of form.refresh() seem to do nothing.

Apparently your SET TALK is ON, so you see the result of DIR command right in the active form.
You need to issue SET TALK OFF command when you load or initialise your form. Note that SET TALK command is scoped to current data session.
Also, you should use THISFORM.Refresh(), not the Form.Refresh()
Do you really want to direct the output of DIR command to the form? Check Help for SET TALK command to see more options for the output.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform