How To Make Move or Resize Call Form's THIS_ACCESS Method (190539)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q190539 SUMMARY
Visual FoxPro 6.0 gives you the ability to attach events to properties.
This is accomplished using Access and Assign methods. These events will
fire when a property value is queried (that is, accessed) or set to a value
(that is, assigned). The THIS_ACCESS method is a special case that is fired
whenever any property of an object is queried or set. Normally, this method
will be fired only when properties are programmatically set or queried.
This article describes how to ensure the THIS_ACCESS method is called even
if a property is implicitly changed. An example of when you may want to do
this would be when a form is moved the form's Top property is changed.
REFERENCES
Visual FoxPro Help file, "Access and Assign Methods" topic.
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbhowto KB190539 |
---|
|