Run Form Button Foundation Class

This class provides a generic button to run a form.

Category Misc Buttons

Default Catalog

Visual FoxPro Catalog\Foundation Classes\Buttons

Class

_cmdRunForm

Base Class

CommandButton

Class Library

_miscbtns.vcx

Parent Class

_commandbutton

Sample

...\Samples\Solution\Ffc\buttons.scx

Remarks

To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Form. When you add the class to a form, Visual FoxPro opens a builder so you can specify cFileName, the name of the form you want to run. When you drop the class on a project, you can choose between adding the class or creating a subclass.

Properties, Events, Methods Description

cFilename property

Specifies the name of the form to run.

Default: ""

lSetCaption property

Specifies whether the caption is automatically based on the value of cFilename.

Default: .T.

See Also

Reference

Visual FoxPro Foundation Classes A-Z

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Other Resources

Foundation Class Samples