Share via


Launch Button Foundation Class

This button launches an application using the RUN command.

Category

Misc Buttons

Default Catalog

Visual FoxPro Catalog\Foundation Classes\Buttons

Class

_cmdLaunch

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 the appropriate cFileName value. 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 file to launch. Default: ""

See Also

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

Foundation Class Samples