Run Form Button

See Also

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\Vfp98\Solution\Ffc\buttons.scx

Remarks

This class provides a generic button to run a form.

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.

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

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.