Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save command
Message
 
 
To
22/08/2007 08:49:50
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:
01249542
Views:
27
This message has been marked as a message which has helped to the initial question of the thread.
>hi,
>thank you ,
>after save i need to clean all textbox,editbox...etc.
>
for each loControl in thisform.Controls
  if pemstatus(m.loControl, 'value', 5)
     loControl.ResetToDefault('value')
  endif
next
This would work for only one level hierarchy deep. If you have pageframes or containers with objects, you need to use recursion.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform