Fun with Access/Assign Methods Sample

File: ...\Samples\Solution\Tahoe\Aa_fun.scx

This sample demonstrates ways to use Access/Assign methods in a form.

This sample contains the following classes.

Method Description
caption_assign Assigns a new value to a form's Caption property.
mybuttons_access Returns the index of the button.
oshape_access Returns the shape of the object.
cshapecolor_access Returns the color of the object.
this_access Adds a new property and returns its value.

For details on all classes available in the foundation classes, see Visual FoxPro Foundation Classes A-Z.

See Also

Visual FoxPro Foundation Class Samples | Use Access/Assign Methods for Polymorphism | Visual FoxPro Foundation Classes A-Z | Guidelines for Using Visual FoxPro Foundation Classes