Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save command
Message
From
22/08/2007 22:31:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
22/08/2007 04:58:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01249529
Message ID:
01249758
Views:
21
>hi all,
>
>thisform.refresh()&& mean what

.Refresh() will update the contents of TextBoxes, etc. This is necessary, for example, when going to another record:
skip
ThisForm.Refresh()
Without the .Refresh(), the user will continue seeing the values of the old record, until he clicks in each TextBox.

If you want empty fields for a new record, just create the new record and refresh the form, for example:
append blank
ThisForm.Refresh()
Note: I am assuming that you use data binding, that is, the .ControlSource property.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform