Fun with Access/Assign Methods

File: ...\Samples\VFP98\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, then returns its value.

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