Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.refresh
Message
 
 
To
24/02/2004 18:36:10
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00880542
Message ID:
00880566
Views:
13
Joel,

>What does thisform.refresh do?

It causes the controls to refresh their displayed values with any changes that may have occured in their ControlSource. If you've bound your form controls to object properties then you will need to code your own value reset method:
* thisform.Reset
with this
   .cProperty1 = "initial value"
   .nProperty2 = 0
endwith
Then you can simply call this method from the form Init() to set everything to your "default" values.

>
>I would like to have the user return to the original state of the form after processing is done when they click a command button.
>
>1 A form shows up
>2 User selects a comand button
>3 Processing and do something or report
>4 Form returns to exactly as it was when user came in
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform