共用方式為


SetAllX Extension Foundation Class

Category Object Extension
Default Catalog Visual FoxPro Catalog\Foundation Classes\Utilities
Class _setallx
Base Class Custom
Class Library _setallx.vcx
Parent Class _custom
Sample ...\Samples\Solution\Ffc\Setallx.scx

Remarks

The SetAllX class is an extension of the Visual FoxPro SetAll( ) method available on many Visual FoxPro classes. Unlike the Visual FoxPro SetAll( ) method, you can specify a baseclass whose objects are affected.

To use, drop the class on a project or form or, from the Component Gallery Item Shortcut Menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro places the class icon on the form. You can specify the appropriate property values and provide any necessary input and output objects. When you drop the class on a project, you can choose between adding the class or creating a subclass.

See Guidelines for Using Visual FoxPro Foundation Classes for more information on using foundation classes.

Properties, Events, Methods Description
Setallx method Extended version of SetAll( ) method.

Syntax: SetAllX(toParent, tcProperty, tcExpr, tcBaseClassList, tlNoContainerMode, tlErrorWait)

Return: logical

Arguments:

toParent provides a reference to the parent object.

tcProperty specifies the property to set.

tcExpr specifies value of property being set.

tcBaseClassList specifies the baseclass that applies the changes.

tlNoContainerMode prevents interation through the container

tlErrorWait specifies whether to wait for error.

See Also

Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Visual FoxPro Foundation Classes