Share via


Run Form Button Foundation Class

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

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.

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

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